Mid
From PDF
Microservices
Microservices
JWT Validation: ○ The API Gateway can decode and validate JWT tokens to authenticate users?
Short answer: And extract user roles for authorization. Example: Verify the signature of the JWT and check its expiry before forwarding the request to the microservices.
Real-world example (ShopNest)
ShopNest’s API Gateway routes /orders to the Order service and /payments to Payment—clients talk to one entry point.
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