You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I followed this guide to add authentication to my services through Keycloak. It works great, except for the logout. I tried to do something like http://service/oauth2/sign_out which should proxy pass to oauth2-proxy but I get the following http error: ERR_TOO_MANY_REDIRECTS.
I tried using both backend URLs that are visible in the file or removing the option, but nothing worked. The ID token is not specified as I could see here.
I have the following error in the oauth2-proxy logs:
[2024/04/22 10:55:41] [oauthproxy.go:758] error getting authenticated session during backend logout: redirect to login page
192.168.0.108 - aeacbfa5-14e1-4a5f-8eea-72245a85c078 - - [2024/04/22 10:55:41] cyberchef.pippo.it GET - "/oauth2/sign_out" HTTP/1.0 "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" 302 39 0.000
I would like to be logged out from Keycloak and have the session in oauth2-proxy deleted, but I can't figure out how to do it. Any suggestions?
OAuth2-Proxy Version
7.6.0
Provider
keycloak-oidc
Current Behaviour of your Problem
Hi,
I followed this guide to add authentication to my services through Keycloak. It works great, except for the logout. I tried to do something like http://service/oauth2/sign_out which should proxy pass to oauth2-proxy but I get the following http error:
ERR_TOO_MANY_REDIRECTS
.I tried using both backend URLs that are visible in the file or removing the option, but nothing worked. The ID token is not specified as I could see here.
I have the following error in the oauth2-proxy logs:
I would like to be logged out from Keycloak and have the session in oauth2-proxy deleted, but I can't figure out how to do it. Any suggestions?
Thanks in advance.
Configuration details or additional information
Environment configuration file:
Steps To Reproduce
No response
The text was updated successfully, but these errors were encountered: