DEV: Update ServiceProviderConfig
This commit is contained in:
parent
7e358fb98b
commit
1496404433
1 changed files with 3 additions and 1 deletions
|
@ -2,7 +2,9 @@
|
||||||
|
|
||||||
Rails.application.config.to_prepare do
|
Rails.application.config.to_prepare do
|
||||||
Scimitar.service_provider_configuration = Scimitar::ServiceProviderConfiguration.new({
|
Scimitar.service_provider_configuration = Scimitar::ServiceProviderConfiguration.new({
|
||||||
# TODO: Add configuration about configured services here
|
authenticationSchemes: [
|
||||||
|
Scimitar::AuthenticationScheme.bearer
|
||||||
|
]
|
||||||
})
|
})
|
||||||
Scimitar.engine_configuration = Scimitar::EngineConfiguration.new({
|
Scimitar.engine_configuration = Scimitar::EngineConfiguration.new({
|
||||||
token_authenticator: Proc.new do | token, options |
|
token_authenticator: Proc.new do | token, options |
|
||||||
|
|
Loading…
Reference in a new issue