Closed cobar79 closed 12 months ago
Hey, @cobar79.
Please also include the link to the tutorial you were following.
Also, does it work with the code on the repository without modifications?
https://www.baeldung.com/spring-cloud-gateway-oauth2 https://www.baeldung.com/keycloak-embedded-in-spring-boot-app
Your clone of oauth-rest/oauth-authorization-server does work. However, I decided to just go with the Keycloak Image over an embedded one.
Your post always seem to not match the source code. I can't find the Gateway project as Resource Server in the https://github.com/Baeldung/spring-security-oauth/tree/master. The link in https://www.baeldung.com/spring-cloud-gateway-oauth2 to github is no good, just takes to root of all projects.
Hi @cobar79 The article https://www.baeldung.com/spring-cloud-gateway-oauth2 links to the project: https://github.com/eugenp/tutorials/tree/master/spring-cloud-modules/spring-cloud-gateway - this is where you'll find the Gateway project as Resource Server.
While the post is informative, unfortunately, the repo is too hard to decrypt to find what I want to implement.
It is a common pattern with Baeldung posts. I tend to bypass and go with Medium repository
On Tue, Oct 10, 2023, 1:51 AM Loredana Crusoveanu @.***> wrote:
Hi @cobar79 https://github.com/cobar79 The article https://www.baeldung.com/spring-cloud-gateway-oauth2 links to the project: https://github.com/eugenp/tutorials/tree/master/spring-cloud-modules/spring-cloud-gateway
- this is where you'll find the Gateway project as Resource Server.
— Reply to this email directly, view it on GitHub https://github.com/Baeldung/spring-security-oauth/issues/441#issuecomment-1754611781, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKG2SZP7VSL5B3P5U5EWFP3X6T5B5AVCNFSM6AAAAAA5RYO5G2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJUGYYTCNZYGE . You are receiving this because you were mentioned.Message ID: @.***>
Spring Boot 3.1.4 Java 17