Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Redmine::OmniAuthSAML::Base.configure do |config|
- config.saml = {
- :assertion_consumer_service_url => "http://xxxxx/redmine/auth/saml/callback", # The redmine application hostname
- :issuer => "Redmine", # The issuer name
- :idp_sso_target_url => "http://xxxxxx:8080/openam/SSORedirect/metaAlias/idp1", # SSO login endpoint
- :idp_cert_fingerprint => "DE:xxxx", # SSO ssl certificate fingerprint
- :name_identifier_format => "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent",
- :signout_url => "http://oxxxx:8080/openam/IDPSloPOST/metaAlias/idp1",
- :idp_slo_target_url => "http://xxxxxx:8080/openam/IDPSloRedirect/metaAlias/idp1",
- :name_identifier_value => "mail", # Which redmine field is used as name_identifier_value for SAML logout
- :attribute_mapping => {
- # How will we map attributes from SSO to redmine attributes
- :login => 'extra.raw_info.username',
- :firstname => 'extra.raw_info.first_name',
- :lastname => 'extra.raw_info.last_name',
- :mail => 'extra.raw_info.email'
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement