You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there! I have been struggling with this issue for days and would love to have any suggestion or help.
Background
I deployed Kubeapps using helm chart on a TKC, and am able to access it in browser and login to see all my apps and deploy new app using ServiceAccount token. I am now trying to configure it to use Dex for login. I deployed Dex on the same TKC, edited the helm chart value of Kubeapps to enable auth-proxy for Dex.
Problem
After accessing Kubeapps using http://localhost:8080, I clicked the button for Dex login, and got successfully redirected to Dex login page. I entered the default username and password ([email protected]/12341234), and got successfully authenticated. But then I got redirected back to Kubeapps login page. It seems that Kubeapps does not think I am authenticated.
Currently using...
Below is the useful fields I am using in Kubeapps helm chart:
Workaround
I am not 100% sure but I think my Kubeapps should be okay because I was able to login, view apps, and deploy new app using ServiceAccount token. And I have checked the Dex pod to make sure that from the Dex's view, I am successfully authenticated.
So I feel like the issue is about the redirect URI... I followed the official documentation to set it to be http://localhost:8080/oauth2/callback. I have verified that this callback URI is indeed called after Dex authentication. But somehow it always takes me back to Kubeapps login page.
Thanks! Any opinion would help!
The text was updated successfully, but these errors were encountered:
Hi there! I have been struggling with this issue for days and would love to have any suggestion or help.
Background
I deployed Kubeapps using helm chart on a TKC, and am able to access it in browser and login to see all my apps and deploy new app using ServiceAccount token. I am now trying to configure it to use Dex for login. I deployed Dex on the same TKC, edited the helm chart value of Kubeapps to enable auth-proxy for Dex.
Problem
After accessing Kubeapps using
http://localhost:8080
, I clicked the button for Dex login, and got successfully redirected to Dex login page. I entered the default username and password ([email protected]/12341234), and got successfully authenticated. But then I got redirected back to Kubeapps login page. It seems that Kubeapps does not think I am authenticated.Currently using...
Below is the useful fields I am using in Kubeapps helm chart:
And below is my Dex configmap:
Workaround
I am not 100% sure but I think my Kubeapps should be okay because I was able to login, view apps, and deploy new app using ServiceAccount token. And I have checked the Dex pod to make sure that from the Dex's view, I am successfully authenticated.
So I feel like the issue is about the redirect URI... I followed the official documentation to set it to be
http://localhost:8080/oauth2/callback
. I have verified that this callback URI is indeed called after Dex authentication. But somehow it always takes me back to Kubeapps login page.Thanks! Any opinion would help!
The text was updated successfully, but these errors were encountered: