Kubeapps in k8s with OAuth2 proxy: fail to login in (blank page) #4339
-
Hello, First of all thank you for the Kubeapps tool. I now want to move from that kind of devel setup to something more production ready. I now work with a k8s cluster which uses keycloak and OAuth2 proxy. SSO works well to log into services or apps such as a dummy dokuwiki for testing purposes. kubelogin also works well. I have tried to follow the following docs:
I ended up with the following:
When I try to log into kubeapps, the following happens:
I'm stuck there currently. Do you have any idea of what could be wrong? That kind of environment can become complex, I hope I have provided enough information. Thanks and best regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
I don't have much experience with KeyCloak, but one thought based on your details (thanks for providing such clear details :) ):
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:
Assuming that
It can indeed become complex. Thanks again for the details - in this case, it may be an incorrect redirect that you're explicitly asking for. Let's see. |
Beta Was this translation helpful? Give feedback.
I don't have much experience with KeyCloak, but one thought based on your details (thanks for providing such clear details :) ):
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:
Assuming that
auth.<DOMAIN>/oauth2/start