Add omniauth saml section for sign in and sign up page
Co-authored-by: Anamika Aggarwal <anamikaagg18@gmail.com>
This commit is contained in:
@@ -286,6 +286,10 @@ Devise.setup do |config|
|
||||
Rails.application.secrets.wordpress_oauth2_secret,
|
||||
client_options: { site: Rails.application.secrets.wordpress_oauth2_site },
|
||||
setup: ->(env) { OmniauthTenantSetup.wordpress_oauth2(env) }
|
||||
config.omniauth :saml,
|
||||
sp_entity_id: Rails.application.secrets.saml_sp_entity_id,
|
||||
idp_cert: Rails.application.secrets.saml_idp_cert,
|
||||
idp_sso_service_url: Rails.application.secrets.saml_idp_sso_service_url
|
||||
|
||||
# ==> Warden configuration
|
||||
# If you want to use other strategies, that are not supported by Devise, or
|
||||
|
||||
Reference in New Issue
Block a user