-
Notifications
You must be signed in to change notification settings - Fork 175
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
Invalid credentials with oidc auth with dex #11
Comments
Forgot to say, this dashboard is awesome. |
Thanks for filing the issue. I'm not familiar with Dex, but after reading a couple blogs about it, it looks pretty cool! I'm not sure offhand what would be going wrong. Are there any logs on the dex end? Can we confirm that the request is at least getting there? |
Dex looks fine. I can see login successful with github in the dex logs. If I change client id on k8dash side, dex complains with invalid client_id. When I accessed the dashboard, it gets forwarded to dex and then to github, and then come back to the dashboard. However, dashboard shows an error "login failed". I will play with it more to find out. |
I found out that it's in loop of authentication like: I guess k8dash is not compatible with oidc providers. |
It looks like fixed the problem. I needed to encode the client secret with base64. |
Great! I'm glad you were able to figure it out. And thanks for leaving a comment with the solution. Hopefully that saves the next person some time :) Can we close this at this point or are there still pending issues getting OIDC working in your environment? |
Yes. It works fine now. |
Good to hear :) Please don't hesitate to file feature requests as you use k8dash more. I'd love feedback on how to make it better |
Hello , I'm redirected to dex, able to authenticate with LDAP and finally not able to login with k8dash. |
Hi,
I get invalid credentials error like below when authenticated with dex as an oidc-provider.
If I turn off oidc auth, k8dash asks for token and it works if I enter a valid token.
Dex is authenticating with github.com and it works fine with kubectl.
Here is the kubectl settings
And this is k8s yaml manifests
Do you have any idea?
The text was updated successfully, but these errors were encountered: