Q38: What is Step-Up Authentication and how is it implemented in API architectures?

Difficulty:AdvancedTopic:Architecture Patterns

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:

  1. Standard authentication issues a low-assurance JWT containing claims like amr: ["password"] and acr: "essential".
  2. When the user accesses a high-security endpoint, the API checks acr claims and rejects the request with 401 Unauthorized containing header WWW-Authenticate: Bearer error="insufficient_scope", claims="acr=mfa".
  3. 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.