smreeti / spring-security-with-zuul

74 stars 76 forks source link

Can't go to the login page through API Gateway #2

Open buihieu028 opened 3 years ago

buihieu028 commented 3 years ago

Hello sir , I have a problem when i execute login API through the gateway , i return status 200 OK and the response is empty. When i directly go to the service to get authentication it is ok , it return the token JWT , i use that token to go through API gateway and it run fine I just have a problem when go to login API through API gateway .

Hope u reply me soon , thanks

ramazansakin commented 2 years ago

Hi @buihieu028 ,

I want to make some changes on this repo but there needs to have lots of change. Maybe I can give you another example to see auth side with a zuul gateway sample project.

https://github.com/ramazansakin/microservices-spring-boot