I have followed <https://datahubproject.io/docs/ho...
# ui
s
I have followed https://datahubproject.io/docs/how/auth/sso/configure-oidc-react and https://datahubproject.io/docs/how/auth/sso/configure-oidc-react-google to setup login with google. I am able to get in. I am on UI and when I click on user it takes me to this URL https://DOMAIN_HERE/user/ which shows. Do I need to do some setting for this or is this not implemented yet?
b
This is definitely not normal behavior. I'm guessing that it's not properly resolving a username from the information returned by Google Identity
Can you try to change some configurations in
datahub-frontend
for me?
Copy code
AUTH_OIDC_SCOPE="openid email"
AUTH_OIDC_USER_NAME_CLAIM=email
AUTH_OIDC_USER_NAME_CLAIM_REGEX=([^@]+)
s
I did not add the last one in the
values.yml
. Some helm parsing issues. Will try to figure out the parsing issue
b
You might be able to put quotes around it to get it working.. let me know if you still have troubles here
s
I added that and AUTH_OIDC_USER_NAME_CLAIM_REGEX and there were no errors. But there are still errors
I think I'll have to fix the kafka exception first. Will try to authenticate kafka on confluent cloud first
b
Copy code
I added that and AUTH_OIDC_USER_NAME_CLAIM_REGEX and there were no errors. But there are still errors
I'm a bit confused by this - what were there errors with and what were there not errors with?
I will add this to the docs
s
There was no error in deployment of frontend related to parsing of AUTH_OIDC_USER_NAME_CLAIM_REGEX. There are error when I click on the user profile page of "Page not found". I checked the logs of frontend and it seems there are many errors. Here is a screenshot of recent errors that are happening
As I am not familiar with datahub's code base it is hard to say which one is caused by clicking that link. So I was thinking that if I fix that kafka connectivity issue then these errors will reduce. That would make it easier for me to point out what is the error behind clicking that link and share the same with you. That should make it easier for you to understand the root cause and suggest what can be done
As this is the first time using confluent kafka there may be some security setting that I am missing which is causing the connectivity issue. If I am able to connect to our confluent kafka from a kafka application then I will reach out to your team for help.
b
I'm guessing this is an issue on our side with the security settings for kafka
@square-activity-64562 What is the URL of the "Page Not Found" error? Is it directing you to a page like http://localhost:9002/user/<some-user-urn>?
s
Just something like http://localhost:9002/user/
b
Then something is still incorrect when receiving data back from SSO identity provider. Your redirect on login seems to be working?
s
I am seeing the home page after login so probably yes redirect on login seems to be working
b
Does it say "welcome back, <something>"
on the top left?
s
no it does not say that
b
ah interesting