Hi Team, We have upgraded LDH to version 0.8.41. O...
# troubleshoot
b
Hi Team, We have upgraded LDH to version 0.8.41. Our code build and deployed successfully., but when we try to access it via UI we are getting below error.
Oops, an error occurred
This exception has been logged with id *7ohk695mj*.
PS: We have also disabled the OIDC authentication.
a
We are blocked here, can u pls help @mammoth-bear-12532 @big-carpet-38439
m
It seems that it is trying to make the authentication via OIDC (in the second image there is this message
Cookie failed message authentication check
). Also, that page shown in the third image is the one I was seeing when the authentication using and OIDC provider wasn't properly set. Maybe you haven't disabled it properly or datahub isn't noticing it? It should just be this if I am not mistaken:
AUTH_OIDC_ENABLED=false
or just writing nothing as I think false is the default value
e
@bland-stone-30401 can you share your OIDC environment variables (with sensitive info obscured, of course)?
b
Yeah we'll need to check out those configuration values.
I've actually seen case 2 when the
datahub-frontend
Dockerfile is not executing the correct commands- are you by chance building this container on your own?
b
Please find below OIDC env varables: - name: AUTH_OIDC_ENABLED value: "true" - name: AUTH_OIDC_CLIENT_ID value: "******" - name: AUTH_OIDC_CLIENT_SECRET valueFrom: secretKeyRef: key: "clientSecret" name: "dev-client-secret" - 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://dev-frontend.datagovernance.one.eu41d.inf.iitech.dk" - name: AUTH_OIDC_USER_NAME_CLAIM value: "email" - name: AUTH_OIDC_USER_NAME_CLAIM_REGEX value: "([^@]+)" - name: AUTH_OIDC_SCOPE value: "openid"
e
Just to check, the default scope in Azure AD should be
AUTH_OIDC_SCOPE="openid profile email"
Is there a reason you didn’t configure it that way?
b
Hi @bland-stone-30401 Is your issue resolved? Any leads might help me When I clone datahub repo and checkout to 0.8.43 and try running whole applicaiton using below command
sh dev-without-neo4j.sh
Am facing same issue ad you when accessing UI. Even if all the containers are healthy. I haven't changed any conf or code snippets too