Microservice Authentication strategy
问题 I\'m having a hard time choosing a decent/secure authentication strategy for a microservice architecture. The only SO post I found on the topic is this one: Single Sign-On in Microservice Architecture My idea here is to have in each service (eg. authentication, messaging, notification, profile etc.) a unique reference to each user (quite logically then his user_id ) and the possibility to get the current user\'s id if logged in. From my researches, I see there are two possible strategies: 1.