If a domain is locked, the only authentication allowed for accounts using that domain is through the referenced oidc provider.
11 lines
243 B
Ruby
11 lines
243 B
Ruby
# frozen_string_literal: true
|
|
|
|
Sequel.migration do
|
|
change do
|
|
create_table(:locked_domain) do
|
|
column :domain, String, primary_key: true
|
|
foreign_key :oidc_provider_id, :oidc_provider, type: :uuid, null: false
|
|
end
|
|
end
|
|
end
|