-
-
Notifications
You must be signed in to change notification settings - Fork 554
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
[BUG] keycloak oidc too many redirects #2360
Comments
leonidas-o
changed the title
[BUG] 3.0.7 keycloak oidc redirects
[BUG] keycloak oidc too many redirects
Apr 15, 2024
The same behavior happens with Authentik as well. The configuration is the same i.e. just set the three environment variables LEAN_OIDC_ENABLE, LEAN_OIDC_CLIENT_ID and LEAN_OIDC_CLIENT_SECRET and then try to login and it goes into a loop of 303 and 302 redirects before finally giving up. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What set up are you using
Describe the bug
Cannot get keycloak with docker-leantime (3.0.7 also tried with3.1.1) to work. There are some 303 and 302 redirects before the browser gives up.
To Reproduce
Steps to reproduce the behavior:
OIDC Login
and type in your credentialsExpected behavior
Redirect back to leantime and the given user is logged in.
Leantime Version
docker leantime:latest (3.0.7, 3.1.1)
Server
Apache, nginx, IIS etc
PHP / MySQL Version
docker leantime:latest
docker image mysql:8.0
Additional context
Inside the container,
var/www/html/logs/error.log
doesn't show anything useful:At the end firefox just shows:
The page isn’t redirecting properly
. When going to keycloak, under clients -> leantime -> sessions I see the user is logged in. Also under keycloak events I see some LOGIN and CODE_TO_TOKEN event types.The text was updated successfully, but these errors were encountered: