Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keycloak SSO not working from v0.13.0 #10444

Open
XAdaLovelace opened this issue May 7, 2024 · 0 comments
Open

Keycloak SSO not working from v0.13.0 #10444

XAdaLovelace opened this issue May 7, 2024 · 0 comments
Labels
bug Bug report

Comments

@XAdaLovelace
Copy link

XAdaLovelace commented May 7, 2024

Describe the bug
When upgrading datahub-frontend-react to a higher version than v0.12.1 SSO with Keycloak does not work.

Expected behavior
A redirection of Datahub to Keycloak login page

My datahub is deployed on an on-prem environement but explaination:
When redirection is supposed to happen (which works great with v0.12.1), An error message is raised on the login page of datahub:
"Failed to sign out using Single Sign-On provider. Please contact your DataHub Administrator or refer to server logs for more information."

datahub-frontend-react pod logs after attempting:
"Caught exception while attempting to redirect to SSO identity provider. It's likely that SSO integration is mis-configured."

I configured my values.yaml like this:

datahub:
  ...
  oidcAuthentication:
    enabled: true
    provider: okta
    clientId: datahub
    clientSecret: <mySecretCode>
    oktaDomain: myKeycloak.url/realms/westDH/.well-known/openid-configuration
    scope: "openid profile email groups"
  extraEnvs:
    - name: AUTH_OIDC_ENABLED
      value: "true"
    - name: AUTH_OIDC_CLIENT_ID
      value: your-client-id
    - name: AUTH_OIDC_CLIENT_SECRET
      value: your-client-secret
    - name: AUTH_OIDC_DISCOVERY_URI
      value: your-provider-discovery-url
    - name: AUTH_OIDC_BASE_URL
      value: your-datahub-url
@XAdaLovelace XAdaLovelace added the bug Bug report label May 7, 2024
@XAdaLovelace XAdaLovelace changed the title A short description of the bug Keycloak SSO not working from v0.13.0 May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report
Projects
None yet
Development

No branches or pull requests

1 participant