springdoc / springdoc-openapi-demos

Demo for OpenAPI 3 with spring-boot
http://springdoc.org
Apache License 2.0
493 stars 267 forks source link

secure microservice #29

Closed Olivier4477 closed 3 years ago

Olivier4477 commented 3 years ago

Hello,

Here it is for 1 year (with cuts because not always the time), I try to set up a microservice project with spring boot.

I use webflux, gateway, eureka, admin config, ...

But I still haven't understood how to secure certain route (gateway -> microservice A -> api / company (forbid access), but allow (gateway -> api / planete (allow access)) for example.

I don't know how to go about securing my microservice architecture. I want to do something simple but scalable over time.

My goal is to limit the rest authorization of my microservices and to manage the users who connect to thymeleaf.

Could you help me ? (to know that I learned spring boot on my own) but I am stuck on the security part ... (I am French and I use a translator)

thank you

bnasslahsen commented 3 years ago

Hi @Olivier4477,

For general usage questions please ask on Stack Overflow.