Skip to content

Kubeapps token getting stored locally #4805

Answered by antgamdia
athreyagithub asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @athreyagithub ,

the token is stored in the local storage, as you pointed out. This is the expected behavior: each time you call a Kubeapps API, this token will be used to authenticate each of these calls. What would you suggest?

Also, regarding the source code, it is not an issue at all: every single line of code is public in this repo, I don't think we should offuscate it, no? Or do you have any concerns?

Anyway, please note that the token-based authentication is NOT intended for production purposes. The recommended way is using OIDC to handle the authentication: https://github.com/vmware-tanzu/kubeapps/blob/main/site/content/docs/latest/tutorials/using-an-OIDC-provider.md

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@athreyagithub
Comment options

Answer selected by antgamdia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants