From 1496404433e6fcbbe90fc72e3520e082ac0dfcc8 Mon Sep 17 00:00:00 2001 From: Peter Bouda Date: Thu, 24 Oct 2024 09:19:55 +0100 Subject: [PATCH] DEV: Update ServiceProviderConfig --- config/initializers/scimitar.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/initializers/scimitar.rb b/config/initializers/scimitar.rb index 4d211ab..c9d5056 100644 --- a/config/initializers/scimitar.rb +++ b/config/initializers/scimitar.rb @@ -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 |