DEV: Update ServiceProviderConfig

This commit is contained in:
Peter Bouda 2024-10-24 09:19:55 +01:00
parent 7e358fb98b
commit 1496404433

View file

@ -2,7 +2,9 @@
Rails.application.config.to_prepare do
Scimitar.service_provider_configuration = Scimitar::ServiceProviderConfiguration.new({
# TODO: Add configuration about configured services here
authenticationSchemes: [
Scimitar::AuthenticationScheme.bearer
]
})
Scimitar.engine_configuration = Scimitar::EngineConfiguration.new({
token_authenticator: Proc.new do | token, options |