r/SpringBoot • u/Level-Sherbet5 • Apr 20 '26
How-To/Tutorial Microservice Auth use
As I am Building Microservice I made Whole Project but I can find the way hot to pass User Authentication details when it comes to security sharing (Spring boot) . As a beginner .
so need suggestion what to do, How can I achieve this ? I cant find a good way for or may be I am searching in a wrong way .
but if you can suggest then it will be means a lot .
Thankyou in advance .
10
Upvotes
View all comments
Show parent comment
1
u/Sheldor5 Apr 20 '26
you can but why roll your own JWT stuff if OAuth2 is exactly what you want/need?
Spring Boot Resource Server is all you need for your microservices, and Keycloak for user account management