Replies: 2 comments
-
That was the previous implementation with keycloak adapters: https://github.com/HBPMedical/portal-backend/blob/master/src/main/java/eu/hbp/mip/configurations/SecurityConfiguration.java |
Beta Was this translation helpful? Give feedback.
0 replies
-
I see nothing related to this repo Spring Boot starter or tests tools, so I don't understand why this question lands here. All I can advise is to get more background on OAuth2 and Spring Security. Maybe start with a careful reading of the OAuth2 essentials sections in tutorials introduction README. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello @ch4mpy ,
I have keycloak server 15 running, dockerized with jboss containers and a web app backend that was running with very versions of the keycloak adapter and spring in general.
I am currently migrating the web app backend to latest versions, spring 3 etc and as you already know, I cannot keep using the keycloak adapters.
I am following this tutorial, https://github.com/ch4mpy/spring-addons/tree/master/samples/tutorials/servlet-client, but I cannot seem to get the login url to work properly.
The web app backend is a REST api but it was serving as the client as well previously and would like to keep it that way.
My current configuration:
application.yml
My security config:
The result of the
GET http://172.17.0.1/services/sso/login
request is a redirect tohttp://172.17.0.1/services/oauth2/authorization/keycloak
where I get the following:I am still using the keycloak server 15, don't know if that's related.
Any idea what I am doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions