A security operations team is deploying a enterprise cloud application integrated with an internal Identity Provider (IdP) using SAML 2.0. Arrange the operational steps of a Service Provider-initiated (SP-initiated) Single Sign-On (SSO) authentication sequence in the correct chronological order from first to last.
- 1The user attempts to access a protected resource directly on the Service Provider (SP) web application without an active session.
- 2The Service Provider generates an XML-based SAML AuthnRequest and redirects the user's browser to the Identity Provider (IdP) Single Sign-On URL.
- 3The user authenticates with the Identity Provider and satisfies multi-factor authentication (MFA) requirements.
- 4The Identity Provider issues a digitally signed SAML Response containing an assertion and redirects the browser to the Service Provider's Assertion Consumer Service (ACS) URL.
- 5The Service Provider validates the digital signature of the SAML Assertion and establishes a local authenticated application session.
Answer
The correct operational sequence for SP-initiated SAML 2.0 SSO is: 1) Initial resource request to the SP, 2) Redirection with SAML AuthnRequest to the IdP, 3) User authentication at the IdP, 4) Redirection with signed SAML Assertion back to SP's ACS, and 5) Signature validation and session creation by the SP.
In SAML 2.0 SP-initiated Single Sign-On, the sequence begins with an unauthenticated request to the Service Provider. The SP redirects the user's browser with a SAML AuthnRequest to the Identity Provider. Next, the user authenticates directly at the IdP. Upon successful authentication, the IdP redirects the user back to the SP's Assertion Consumer Service (ACS) endpoint with a signed SAML Assertion containing identity attributes. Finally, the SP verifies the assertion signature and establishes the user session.
Step-by-Step Solution
Key Concept
SAML 2.0 SP-Initiated Authentication Flow