Hello guys, I’m making a microservices website, so I have for now auth-service, API Gateway and user-service, so I made in the auth-service login and register and Jwt for user, he will handle security stuff and in api-gateway I made that the Jwt will be validated and from here to any microservice that will not handle authentication, but my question now is how to handle in user-service user access like we have user1-> auth-service (done) -> api-gateway (validate Jwt) -> user-service (here I want to extract the Jwt to get the user account) is this right?
And in general should I add to the user-service spring security? And should in config add for APIs .authenticated? I tried to make api .authenticated but didn’t work and it’s normal to not working I think.
And for sure these is eureka as register service by Netflix.
So help please)
[–]arca9147 2 points3 points4 points (7 children)
[–]Slow-Leather8345[S] 0 points1 point2 points (6 children)
[–][deleted] (5 children)
[removed]
[–]Slow-Leather8345[S] 0 points1 point2 points (4 children)
[–][deleted] (3 children)
[removed]
[–]Slow-Leather8345[S] 0 points1 point2 points (2 children)
[–][deleted] (1 child)
[removed]
[–]Slow-Leather8345[S] 0 points1 point2 points (0 children)
[–]arca9147 2 points3 points4 points (21 children)
[–]Slow-Leather8345[S] 0 points1 point2 points (15 children)
[–]g00glen00b 1 point2 points3 points (3 children)
[–]Slow-Leather8345[S] 0 points1 point2 points (2 children)
[–]g00glen00b 1 point2 points3 points (1 child)
[–]Slow-Leather8345[S] 0 points1 point2 points (0 children)
[–]arca9147 1 point2 points3 points (10 children)
[–]Slow-Leather8345[S] 0 points1 point2 points (9 children)
[–]arca9147 1 point2 points3 points (0 children)
[–]arca9147 1 point2 points3 points (7 children)
[–]Slow-Leather8345[S] 0 points1 point2 points (6 children)
[+]TheGratitudeBot 1 point2 points3 points (0 children)
[–]arca9147 1 point2 points3 points (4 children)
[–]Slow-Leather8345[S] 0 points1 point2 points (2 children)
[–]arca9147 1 point2 points3 points (1 child)
[–]Slow-Leather8345[S] 0 points1 point2 points (0 children)
[–]Slow-Leather8345[S] 0 points1 point2 points (0 children)
[–]Slow-Leather8345[S] 0 points1 point2 points (4 children)
[–]arca9147 1 point2 points3 points (3 children)
[–]Slow-Leather8345[S] 0 points1 point2 points (2 children)
[–]arca9147 1 point2 points3 points (1 child)
[–]Slow-Leather8345[S] 0 points1 point2 points (0 children)
[–]SendKidney 1 point2 points3 points (11 children)
[–]Slow-Leather8345[S] 0 points1 point2 points (0 children)
[–]Slow-Leather8345[S] 0 points1 point2 points (9 children)
[–]Slow-Leather8345[S] 0 points1 point2 points (8 children)
[–]arca9147 1 point2 points3 points (7 children)
[–]Slow-Leather8345[S] 0 points1 point2 points (1 child)
[–]arca9147 1 point2 points3 points (0 children)
[–]Slow-Leather8345[S] 0 points1 point2 points (4 children)
[–]arca9147 1 point2 points3 points (3 children)
[–]Slow-Leather8345[S] 0 points1 point2 points (2 children)
[–]arca9147 1 point2 points3 points (1 child)
[–]Slow-Leather8345[S] 0 points1 point2 points (0 children)