-
Notifications
You must be signed in to change notification settings - Fork 113
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
[5.0.2] too many redirects #65
Comments
it looks like its any request that gets stuck in the endless redirect loop.. |
Ive tried both embedded-keycloak-server-custom and embedded-keycloak-server-plain which does not go into the loop. But I cant login to them, with password admin/admin it just says |
Could be releated, to the oauth2 spring integration.. specifically redirectUri Snip of our config
|
Okay it seems to have something with spring security todo which runs autoconfiguration and protects everything.. However when I get to the admin console it just shows up blank, With this in dev console in chrome or edge :
|
I've tried this in my security config, but it does not affect the X-FRAME issue:
|
Brother, did you succeed in clustering |
When I try to access:
http://localhost:9999/auth
I get thrown towards:
http://localhost:9999/auth/realms/ccadmin/protocol/openid-connect/auth?response_type=code&client_id=ccadmin-backend&scope=openid%20profile&state=YiYSSxZKTuNByiRRb0WF0ExKsAp_fbSWcOQi6bccG3E%3D&redirect_uri=http://localhost:9999/login/oauth2/code/ccadmin&nonce=Dlsma9mE3foZUseTSua3TLe37IirZkO30Rw2X_wk6U4
Which then redirects towards:http://localhost:9999/oauth2/authorization/ccadmin
So something is off, I have added
web.ignoring().antMatchers("/auth/**","/oauth2/**");
to my WebSecurityConfigurerAdapter as I am running with security on
/api/**
I also find it a bit strange that when accessing
http://localhost:9999/auth
it mixes up my product realm (ccadmin) instead of master...I had it working with keycloak 11.
The text was updated successfully, but these errors were encountered: