Skip to content

Kubeapps in k8s with OAuth2 proxy: fail to login in (blank page) #4339

Answered by absoludity
Nibelheims asked this question in Q&A
Discussion options

You must be logged in to vote

I don't have much experience with KeyCloak, but one thought based on your details (thanks for providing such clear details :) ):

6. The credentials are accepted, and I get redirected to the kubeapps/oauth2/callback page, which is blank, nothing happens

I was surprised that you're being redirected back to this URL, given that it is the URL used by Kubeapps' own oauth2-proxy when being used. But you're explicitly not using that, rather using your own oauth2-proxy. I then saw in your config above that you've explicitly requested this redirect with:

          oauthLoginURI: https://auth.<DOMAIN>/oauth2/start?rd=https://kubeapps.<DOMAIN>/oauth2/callback

Assuming that auth.<DOMAIN>/oauth2/start

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@absoludity
Comment options

@dlaloue-vmware
Comment options

@absoludity
Comment options

@Nibelheims
Comment options

@Nibelheims
Comment options

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