Hi Team,
I am using DataHub v0.12.0
I am trying to configure SSO login with Azure, I have followed below documentation link to configure it and followed each step as is it is.
https://datahubproject.io/docs/authentication/guides/sso/configure-oidc-react-azure/
I am using Kubernetes to deploy DataHub, so I have added all the environment variable to .yaml file like below.
extraEnvs:
- name: AUTH_OIDC_ENABLED
value: "true"
- name: AUTH_OIDC_CLIENT_ID
value: "a-3-v-s-s"
- name: AUTH_OIDC_CLIENT_SECRET
value: "Q~o~I"
- name: AUTH_OIDC_DISCOVERY_URI
value: "<https://login.microsoftonline.com/{tenant_id}/v2.0/.well-known/openid-configuration>"
- name: AUTH_OIDC_BASE_URL
value: "<https://datahub.test.domain.net>"
- name: AUTH_OIDC_SCOPE
value: "openid profile email"```
And when I access this url I see the below json output as well
<https://login.microsoftonline.com/{tenant_id}/v2.0/.well-known/openid-configuration>
```{
"token_endpoint": "<https://login.microsoftonline.com/{tenant_id}/oauth2/v2.0/token>",
"token_endpoint_auth_methods_supported": [
"client_secret_post",
"private_key_jwt",
"client_secret_basic"
],
"jwks_uri": "<https://login.microsoftonline.com/{tenant_id}/discovery/v2.0/keys>",
"response_modes_supported": [
"query",
"fragment",
"form_post"
],
"subject_types_supported": [
"pairwise"
],
"id_token_signing_alg_values_supported": [
"RS256"
],
"response_types_supported": [
"code",
"id_token",
"code id_token",
"id_token token"
],
"scopes_supported": [
"openid",
"profile",
"email",
"offline_access"
],
"issuer": "<https://login.microsoftonline.com/{tenant_id}/v2.0>",
"request_uri_parameter_supported": false,
"userinfo_endpoint": "<https://graph.microsoft.com/oidc/userinfo>",
"authorization_endpoint": "<https://login.microsoftonline.com/{tenant_id}/oauth2/v2.0/authorize>",
"device_authorization_endpoint": "<https://login.microsoftonline.com/{tenant_id}/oauth2/v2.0/devicecode>",
"http_logout_supported": true,
"frontchannel_logout_supported": true,
"end_session_endpoint": "<https://login.microsoftonline.com/{tenant_id}/oauth2/v2.0/logout>",
"claims_supported": [
"sub",
"iss",
"cloud_instance_name",
"cloud_instance_host_name",
"cloud_graph_host_name",
"msgraph_host",
"aud",
"exp",
"iat",
"auth_time",
"acr",
"nonce",
"preferred_username",
"name",
"tid",
"ver",
"at_hash",
"c_hash",
"email"
],
"kerberos_endpoint": "<https://login.microsoftonline.com/{tenant_id}/kerberos>",
"tenant_region_scope": "EU",
"cloud_instance_name": "microsoftonline.com",
"cloud_graph_host_name": "graph.windows.net",
"msgraph_host": "graph.microsoft.com",
"rbac_url": "<https://pas.windows.net>"
}```
Below is the error I am getting now,
front-end - error
`ERROR controllers.AuthenticationController - Caught exception while attempting to redirect to SSO identity provider! It's likely that SSO integration is mis-configured`
UI Error
`Failed to redirect to Single Sign-On provider. Please contact your DataHub Administrator, or refer to server logs for more information.`
Team,
Let me know if any other information is required
Thanks,
Mohan