OneLogin - apokalipto/devise_saml_authenticatable GitHub Wiki
-
Find "Apps" in the top menu bar, and click on "Add Apps."
-
Search for "SAML" and choose "SAML Test Connector (SP)."
-
Name your application and choose your icons, then click "Save."
-
Under "Configuration," enter:
-
Login URL: your home page (e.g.
http://localhost:3000/) -
ACS (Consumer) URL: the session create route (e.g.
http://localhost:3000/users/saml/auth) -
SAML Audience: the metadata route (e.g.
http://localhost:3000/users/saml/metadata) - SAML Recipient: same as ACS URL
-
SAML Single Logout URL: the
idp_sign_outpath (e.g.http://localhost:3000/users/saml/idp_sign_out) -
ACS (Consumer) URL Validator: the session create route, but as a (escaped) regular expression (e.g.
http:\/\/localhost:3000\/users\/saml\/auth)
-
Login URL: your home page (e.g.
-
Under "SSO," copy the values into your configuration in
config/initializers/devise.rb:config.saml_configure do |settings| settings.assertion_consumer_service_url = "http://localhost:3000/users/saml/auth" settings.issuer = "http://localhost:3000/users/saml/metadata" settings.idp_entity_id = "<Issuer URL>" settings.idp_slo_target_url = "<SLO Endpoint>" settings.idp_sso_target_url = "<SAML 2.0 Endpoint>" settings.idp_cert_fingerprint = "<View Details of the certificate to get this value>" end