Q38: What is Step-Up Authentication and how is it implemented in API architectures?
Step-Up Authentication requires an already authenticated user to perform an additional, higher-assurance authentication step (e.g., biometric MFA) when attempting sensitive operations (e.g., wire transfers or changing passwords).
Implementation Pattern:
- Standard authentication issues a low-assurance JWT containing claims like
amr: ["password"]andacr: "essential". - When the user accesses a high-security endpoint, the API checks
acrclaims and rejects the request with401 Unauthorizedcontaining headerWWW-Authenticate: Bearer error="insufficient_scope", claims="acr=mfa". - The client triggers MFA prompt, obtains a step-up token containing
acr: "mfa", and retries the API call.
Key Takeaways
Step-Up Auth prompts for MFA only when users perform critical state-changing actions.
Uses
acr(Authentication Context Class Reference) claims to verify authentication strength level.