I'm trying to understand what is wrong with my GitLab SAML authentication configuration. I get redirected back with error "Retry Later" with url: https://hostname.com/users/auth/saml/callback
Any information on settings inside ADFS that work for others, is much appreciated or if you notice anything wrong with my configuration, thanks. I have the following logs: /etc/gitlab/gitlab.rb # HTTPS is enabled external_url 'https://hostname.com' gitlab_rails['omniauth_enabled'] = true gitlab_rails['omniauth_allow_single_sign_on'] = true gitlab_rails['omniauth_auto_sign_in_with_provider'] = 'saml' gitlab_rails['omniauth_block_auto_created_users'] = false gitlab_rails['omniauth_providers'] = [ { "name" => "saml", "args" => { assertion_consumer_server_url: ' https://hostname.com/users/auth/saml/callback <http://hostname.com/users/auth/saml/callback>', idp_cert_fingerprint: '8e:ee:0a:3b:57:96:18:e9:5e:5d:5b:1a:1b:90:65:38:f6:18:6a:0c', idp_sso_target_url: 'http:///idp.com/adfs/ls', debug: 'true', issuer: 'https://hostname.com', name_identifier_format: 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient' } } ] /var/log/gitlab/gitlab-rails/production.log Started GET "/users/sign_in" for 127.0.0.1 at 2015-09-21 10:53:03 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 131ms (Views: 69.8ms | ActiveRecord: 3.6ms) Started POST "/users/auth/saml" for 127.0.0.1 at 2015-09-21 10:53:14 -0500 Started POST "/users/auth/saml/callback" for 127.0.0.1 at 2015-09-21 10:53:27 -0500 Processing by OmniauthCallbacksController#failure as HTML Parameters: {"SAMLResponse"=>"PHNhbWxwOlJlc3BvbnNlIElEPSJfMTYzZGJhNzEtYzI1NS00MDNhLThjMWEtNTBmNTRhYjcwNWI0IiBWZXJzaW9uPSIyLjAiIElzc3VlSW5zdGFudD0iMjAxNS0wOS0yMVQxNTo1NDowOS42NzNaIiBEZXN0aW5hdGlvbj0iaHR0cHM6Ly9naXQuY3Muc2l1LmVkdS91c2Vycy9hdXRoL3NhbWwvY2FsbGJhY2siIENvbnNlbnQ9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDpjb25zZ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YXR1c0NvZGUgVmFsdWU9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDpzdGF0dXM6UmVxdWVzdGVyIj48c2FtbHA6U3RhdHVzQ29kZSBWYWx1ZT0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOnN0YXR1czpJbnZhbGlkTmFtZUlEUG9saWN5IiAvPjwvc2FtbHA6U3RhdHVzQ29kZT48L3NhbWxwOlN0YXR1cz48L3NhbWxwOlJlc3BvbnNlPg=="} Can't verify CSRF token authenticity Redirected to https://hostname.com/users/sign_in Completed 302 Found in 21ms (ActiveRecord: 2.1ms) Started GET "/users/sign_in" for 127.0.0.1 at 2015-09-21 10:53:27 -0500 Processing by SessionsController#new as HTML Redirected to https://hostname.com/users/auth/saml Filter chain halted as :auto_sign_in_with_provider rendered or redirected Completed 302 Found in 14ms (ActiveRecord: 2.0ms) Started GET "/users/auth/saml" for 127.0.0.1 at 2015-09-21 10:53:27 -0500 Started POST "/users/auth/saml/callback" for 127.0.0.1 at 2015-09-21 10:53:27 -0500 Processing by OmniauthCallbacksController#failure as HTML Parameters: {"SAMLResponse"=>"PHNhbWxwOlJlc3BvbnNlIElEPSJfMDRiYjY2ZjEtMGQzMy00YjY2LTgyYzgtZDZlYmY3YWE1ZjBkIiBWZXJzaW9uPSIyLjAiIElzc3VlSW5zdGFudD0iMjAxNS0wOS0yMVQxNTo1NDowOS44NDVaIiBEZXN0aW5hdGlvbj0iaHR0cHM6Ly9naXQuY3Muc2l1LmVkdS91c2Vycy9hdXRoL3NhbWwvY2FsbGJhY2siIENvbnNlbnQ9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDpjb25zZW50OnVuc3BlY2lmaWVkIiBJblJlc3BvbnNlVG89Il9kMmIxMGJhMC00MmE2LTAxMzMtMzkwMy0wMDFlYzkzZGJhYjciIHhtbG5zOnNhbWxwPSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6cHJvdG9jb2wiPjxJc3N1Z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tZUlEUG9saWN5IiAvPjwvc2FtbHA6U3RhdHVzQ29kZT48L3NhbWxwOlN0YXR1cz48L3NhbWxwOlJlc3BvbnNlPg=="} Can't verify CSRF token authenticity Redirected to https://hostname.com/users/sign_in Completed 302 Found in 14ms (ActiveRecord: 2.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2015-09-21 10:53:28 -0500 Processing by SessionsController#new as HTML Redirected to https://hostname.com/users/auth/saml Filter chain halted as :auto_sign_in_with_provider rendered or redirected Completed 302 Found in 13ms (ActiveRecord: 2.0ms) Started GET "/users/auth/saml" for 127.0.0.1 at 2015-09-21 10:53:28 -0500 Started POST "/users/auth/saml/callback" for 127.0.0.1 at 2015-09-21 10:53:28 -0500 Processing by OmniauthCallbacksController#failure as HTML -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/cb1c2d5c-0066-4956-8aa5-3575a7687fc7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.