3 ms·
Another example that I'm fond of: Central authentication service that authenticates on user login and passes back and API token to be used to access other serv
by joshmarlow 10y ago
Another example that I'm fond of:
Central authentication service that authenticates on user login and passes back and API token to be used to access other services. With something like a JWT you don't need to check the User database for every API call.
- vidarh 10y agoExactly. This is how I see microservices as most valuable: When communication is mediated by the client. And tokens can be great for that in all kinds of circumstances to allow the client to mediate communications even when trust is required.