A security analyst is documenting the hardware-based multi-factor authentication (MFA) process using WebAuthn/FIDO2 for corporate cloud applications. Place the operational steps of a successful WebAuthn authentication sequence in the correct chronological order from first to last.
- 1The user attempts authentication, causing the Relying Party (RP) server to generate a unique cryptographic challenge.
- 2The Relying Party sends the challenge along with the RP identifier to the client browser's WebAuthn API.
- 3The user performs local verification (such as entering a PIN or biometric scan) on the hardware security key to unlock the private key and sign the challenge.
- 4The hardware key sends the signed assertion back to the browser, which forwards the response payload to the Relying Party server.
- 5The Relying Party server verifies the signed challenge using the user's previously registered public key and establishes an authenticated session.
Answer
The correct order begins with the Relying Party generating a unique cryptographic challenge upon user login initiation, sending that challenge to the client browser, performing local user verification on the hardware key to sign the challenge, forwarding the signed assertion payload back to the Relying Party server, and finally verifying the signature using the stored public key to issue an authenticated session.
The WebAuthn authentication flow follows a strict challenge-response protocol sequence: First, the Relying Party (RP) generates a cryptographic challenge upon login attempt. Second, the RP sends this challenge and session parameters to the client browser. Third, the user authenticates locally on the hardware key (via PIN or biometric), which allows the private key to sign the challenge. Fourth, the signed assertion is sent back to the client browser and submitted to the RP server. Finally, the RP server verifies the signature using the stored public key to validate identity.
Step-by-Step Solution
Key Concept
FIDO2 / WebAuthn Challenge-Response Authentication Sequence