HI,
I have a setup with AWS SSO and its identity source is AWS SSO (not AD or external)
I have a problem with this integration, the gitlab configuration has the correct configuration (with IDP Okta has worked correctly with the same configuration by Gitlab).
The idea is to use AWS SSO as IdP and Gitlab as SP.
Gitlab settings:
gitlab_rails['omniauth_enabled'] = true
gitlab_rails['omniauth_auto_link_user'] = ['saml']
gitlab_rails['omniauth_external_providers'] = ['saml']
gitlab_rails['omniauth_sync_profile_from_provider'] = ['saml']
gitlab_rails['omniauth_allow_single_sign_on'] = ['saml']
gitlab_rails['omniauth_block_auto_created_users'] = false
gitlab_rails['omniauth_auto_link_saml_user'] = false
gitlab_rails['omniauth_providers'] = [
{
name: "saml",
label: "Saml Provider",
args: {
assertion_consumer_service_url: "http://gitlab.domain/users/auth/saml/callback",
idp_sso_target_url: "https://portal.sso.eu-west-1.amazonaws.com/saml/assertion/{assertion_id}",
issuer: "https://portal.sso.eu-west-1.amazonaws.com/saml/assertion/{assertion_id}",
name_identifier_format: "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress",
idp_cert_fingerprint: "{fingerprint_cert}"
}
}
]
Into AWS SSO the config is:
image url
The assigned users is a Administrator Group to which I belong
But I recivied this error:
image url
I only see the SAML Request but I can't find the SAML Response, also when I go back to the gitlab url with the Cookie, I get the following message in it: Could not authenticate you from SAML because "Saml response missing".
The assertions required by gitlab is:
Field Supported keys
Email (required) email, mail
Full Name name
First Name first_name, firstname, firstName
Last Name last_name, lastname, lastName
Regards!
I have followed that guide and the most I get is a 403 in the AWS SSO, I can not see more logs except the ones I see in the Cloudtrial where the 403 is indicated in Federate.
The configuration with the Okta provider has worked correctly but with AWS SSO I can't get it to work.