-
Notifications
You must be signed in to change notification settings - Fork 86
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
Failure to authenticate with generated tokens #24
Comments
ok i think i figured it out. I changed the token generation url to "v4" instead of "v3" and it started working for me. https://github.com/micahhausler/k8s-oidc-helper/blob/master/internal/helper/helper.go#L53 |
The only thing i noticed in jwt's returned from v4 is that it contains a couple of more fields but i don't know if they are relevant.
|
I am having the same issue, I found the problem but I don't know how to solve yet. I've tested it, changing my local time and generating a new Token. |
I got same issue guys. The token generated works but I have to wait a couple of hours before token is verified |
Please use this url https://oauth2.googleapis.com/token to solve the issue |
I can confirm that it works with this change. |
Hi,
Thanks for this great tool. I am running into an issue where tokens generated with k8s-oidc-helper are not working and get
error: You must be logged in to the server (Unauthorized)
. And Kuberenetes api server logs has:I have tried tokens generated with different means and they worked. I am not sure if i am missing something but could it be that token generation is out of date or something?
Thanks!
-abdul
The text was updated successfully, but these errors were encountered: