### OmniAuth Settings
###! Docs: https://docs.gitlab.com/ce/integration/omniauth.html
gitlab_rails['omniauth_enabled'] = true
gitlab_rails['omniauth_allow_single_sign_on'] = ['azure_oauth2']
# gitlab_rails['omniauth_sync_email_from_provider'] = 'saml'
gitlab_rails['omniauth_sync_profile_from_provider'] = ['azure_oauth2']
gitlab_rails['omniauth_sync_profile_attributes'] = ['azure_oauth2']
# gitlab_rails['omniauth_auto_sign_in_with_provider'] = 'azure_oauth2'
gitlab_rails['omniauth_block_auto_created_users'] = false
# gitlab_rails['omniauth_auto_link_ldap_user'] = false
# gitlab_rails['omniauth_auto_link_saml_user'] = false
gitlab_rails['omniauth_external_providers'] = ['azure_oauth2']
gitlab_rails['omniauth_providers'] = [
{
"name" => "azure_oauth2",
"args" => {
"client_id" => "ee72xxxx-xxx",
"client_secret" => "G9dxxx",
"tenant_id" => "0c17xxxx-xxx",
}
}
]
At the minute I don't get the option to enable this as an OAuth option in Admin > Settings > Sign-in restrictions, on the login page there isn't a login with button and when I use the azure 'myapps' portal pressing the link takes me to the GitLab login page instead of logging me in, and there is no option to connect my profile in the integrations bit of my profile.
Thanks for reading my mini essay, any ideas?