He has been trying to connect s-c-gateway and s-c-security with Keycloak for a couple of days. I want the modules that are located behind the gateway not to have a keycloak configuration. Is Spring Cloud Gateway not supported by Spring Cloud Security?
Asked
Active
Viewed 4,756 times
3 Answers
1
There's an issue on the spring cloud gateway github about this - a short summary is that there's currently no official support but I'd suggest reading the full github comments

Ryan Dawson
- 11,832
- 5
- 38
- 61
-
Thanks, so I must wait on end 2018 :C – Jakub By ByJacob Aug 29 '18 at 10:45
-
@JakubByByJacob I am from 2019 :) How did you solve that task? – Isabek Tashiev Jul 05 '19 at 11:08
0
You could use @EnableWebFluxSecurity in cloud gateway, since it's reactive project.

Valchev
- 1,490
- 14
- 17
0
I know this is an old question with an answer but now it is possible and very common to integrate Spring cloud Gateway
, Spring cloud Security
and Keycloak
. You can find a good tutorial here:
https://kunkkali.blogspot.com/2020/10/build-j2ee-micro-services-architecture.html
Source code: https://github.com/liqili/spring-microservice-oauth2-keycloak-starter

Ali Behzadian Nejad
- 8,804
- 8
- 56
- 106