mirror of
https://github.com/czhu12/canine.git
synced 2025-12-16 16:35:10 -06:00
20 lines
606 B
Ruby
20 lines
606 B
Ruby
class CreateOIDCConfigurations < ActiveRecord::Migration[7.2]
|
|
def change
|
|
create_table :oidc_configurations do |t|
|
|
t.string :issuer, null: false
|
|
t.string :client_id, null: false
|
|
t.string :client_secret, null: false
|
|
t.string :authorization_endpoint
|
|
t.string :token_endpoint
|
|
t.string :userinfo_endpoint
|
|
t.string :jwks_uri
|
|
t.string :scopes, default: "openid email profile"
|
|
t.string :uid_claim, default: "sub", null: false
|
|
t.string :email_claim, default: "email"
|
|
t.string :name_claim, default: "name"
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|