A fintech platform is designing its microservices-based API infrastructure. The mobile application client must request access to user data across multiple independent backend services on behalf of authenticated users. The architecture requires that microservices independently verify scoped permissions statelessly without querying a central authentication service on every request, while avoiding exposure of user credentials. Which of the following identity and access management architecture designs best satisfies these requirements?
- Implement an OAuth 2.0 authorization server that issues digitally signed JSON Web Tokens (JWTs) carrying user scopes and claims for decentralized verification by downstream microservices.Answer
- BEnforce network-edge Web Application Firewall (WAF) filtering combined with IP address whitelisting as the primary mechanism for authenticating microservice requests.
- CConfigure a centralized RADIUS server to perform real-time LDAP directory lookups for user credentials on every API request processed by backend microservices.
- DDeploy a SAML 2.0 web browser single sign-on profile using HTTP POST bindings to transmit XML authorization assertions between microservice endpoints.
Answer
Implement an OAuth 2.0 authorization server that issues digitally signed JSON Web Tokens (JWTs) carrying user scopes and claims for decentralized verification by downstream microservices.
The correct solution uses an OAuth 2.0 authorization server issuing digitally signed JSON Web Tokens (JWTs). In a microservices architecture, JWTs allow individual microservices to perform stateless token verification using public key cryptography while evaluating authorization scopes directly from the payload without querying a central server.
Step-by-Step Solution
Key Concept
Stateless Delegated API Authorization with OAuth 2.0 and Signed JWTs