Advertisement
Guest User

Untitled

a guest
Jul 24th, 2016
451
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. Redmine::OmniAuthSAML::Base.configure do |config|
  2. config.saml = {
  3. :assertion_consumer_service_url => "http://xxxxx/redmine/auth/saml/callback", # The redmine application hostname
  4. :issuer => "Redmine", # The issuer name
  5. :idp_sso_target_url => "http://xxxxxx:8080/openam/SSORedirect/metaAlias/idp1", # SSO login endpoint
  6. :idp_cert_fingerprint => "DE:xxxx", # SSO ssl certificate fingerprint
  7. :name_identifier_format => "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent",
  8. :signout_url => "http://oxxxx:8080/openam/IDPSloPOST/metaAlias/idp1",
  9. :idp_slo_target_url => "http://xxxxxx:8080/openam/IDPSloRedirect/metaAlias/idp1",
  10. :name_identifier_value => "mail", # Which redmine field is used as name_identifier_value for SAML logout
  11. :attribute_mapping => {
  12. # How will we map attributes from SSO to redmine attributes
  13. :login => 'extra.raw_info.username',
  14. :firstname => 'extra.raw_info.first_name',
  15. :lastname => 'extra.raw_info.last_name',
  16. :mail => 'extra.raw_info.email'
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement