Senior
From PDF
Microservices
Microservices
Centralized Authentication Server: Use a centralized service (like Auth0, Okta, or Keycloak) to authenticate users once and propagate the session across the microservices through JWT tokens. Example: A user logs in through Auth0 (SSO provider) and receives a JWT token. They can
Short answer: ccess multiple microservices (e.g., User Service, Order Service) by passing the token in the Authorization header.
Say this in the interview
- Define — one clear sentence (the short answer above).
- Example — relate it to a project like ShopNest or your real work.
- Trade-off — when you would not use it.
Share this Q&A
Share preview image: https://www.toolliyo.com/images/toolliyo-logo.png