Bird
0
0

Why is it important to propagate the original JWT token instead of generating new tokens at each microservice?

hard📝 Conceptual Q10 of 15
Microservices - Authentication and Authorization
Why is it important to propagate the original JWT token instead of generating new tokens at each microservice?
ATo reduce network traffic between services
BTo maintain consistent user identity and claims across all services
CTo encrypt the token multiple times for security
DTo allow each service to have its own independent user session
Step-by-Step Solution
Solution:
  1. Step 1: Understand JWT token purpose

    The JWT token carries user identity and claims that must remain consistent across services.
  2. Step 2: Analyze impact of generating new tokens

    New tokens break identity continuity and can cause authorization errors.
  3. Final Answer:

    To maintain consistent user identity and claims across all services -> Option B
  4. Quick Check:

    Original JWT keeps identity consistent [OK]
Quick Trick: Propagate original token to keep identity consistent [OK]
Common Mistakes:
MISTAKES
  • Thinking new tokens reduce traffic
  • Assuming multiple encryption layers improve security
  • Believing each service needs separate sessions

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes