-
Notifications
You must be signed in to change notification settings - Fork 894
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
401 No user detected error when accessing Jupyter Notebook (with Keycloak) #2931
Comments
Hello as a first step please use 1.9.1 or the master branch since there are relevant authentication fixes in 1.9.1/master |
Afterwards please check out my new documentation about replacing dex 2ebc576 |
I deployed Kubeflow v1.9.1 again and followed the guideline you suggested. I just added the requestauthentication.keycloak-jwt.yaml and changed oauth2-proxy-configmap. The rest of the parts, except for this, are exactly the same as what is uploaded on GitHub. Would you happen to have any idea to solve this issue?
It seems like auhtentication is successful. But I can't access the centraldashboard.
|
I solved the issue. If anyone else is facing with the same issue, check this out below.
|
see #2934 (comment) |
I'm having the same problem, although I complete dex validation to get into the notebook, I've built kubeflow a dozen times before, but this time I've reinstalled it several times with the same problem, I always fail to connect to kfp and report an error when triggering a pipeline build as follows: |
I resolved the issue by configuring PodDefault to access ml-pipline in the user namespace. And if you still have the same problem, then you might want to check your Authorizationpolicy. It seems similar to this issue. kubeflow/pipelines#6120 |
Validation Checklist
Version
1.9
Describe your issue
When I try to access the Jupyter Notebook using browser, I get this error.
{"log":"No user detected.","status":401,"success":false,"user":null}
I replaced dex with Keycloak as Idp and using oauth2-proxy.
API curl test was successful.
Here are my istio-ingressgateway and jupyter web app logs.
Steps to reproduce the issue
Put here any screenshots or videos (optional)
No response
The text was updated successfully, but these errors were encountered: