IDENTITY-AND-ACCESS-MANAGEMENT-ARCHITECT practice question 9 of 30
What information does the 'Relaystate' parameter contain in sp-Initiated Single Sign-on?
Full set: 248 questionsIn an SP-initiated Single Sign-On (SSO) flow, the RelayState parameter is an opaque identifier used by the Service Provider (SP) to maintain state. When a user attempts to access a protected resource, the SP initiates the SSO process by sending an authentication request to the Identity Provider (IdP). The SP includes the URL of the originally requested resource in the RelayState parameter. The IdP returns this value unmodified with the SAML response. Upon successful authentication, the SP uses the RelayState value to redirect the user to their intended destination, ensuring a seamless experience.
A. The RelayState parameter is opaque to the Identity Provider; the IdP does not interpret or use it but simply returns it to the SP.
C. The login address of the SP is a known endpoint for initiating authentication, not the target destination URL contained within RelayState.
D. The IdP's login URL is the destination for the authentication request itself, not the value carried by the RelayState parameter.
1. OASIS Security Assertion Markup Language (SAML) V2.0 Core Specification
March 2005. Document identifier sstc-saml-core-2.0-os.
Section 3.4.1
Web Browser SSO Profile: "The RelayState data is passed from the service provider to the identity provider and then back to the service provider. This data is opaque to the identity provider... When the response is delivered to the service provider
it SHOULD be able to use the RelayState data to resume the user's interaction with the service provider at the point at which it was interrupted."
2. Salesforce Identity Documentation
Single Sign-On.
SAML Login Flow Section: "RelayState: The URL where the user is redirected after a successful sign-on. This URL is typically the Salesforce page that the user was trying to access before authentication was requested." This confirms RelayState is a redirect parameter for the SP.
3. Stanford University IT
SAML Integration Guide.
SAML Attributes Section: "RelayState: The URL of the resource the user was trying to access. The IdP will return this value to the SP so that the user can be redirected to the correct page after authenticating." This explicitly defines RelayState as the target URL at the service provider.
Keep practicing
Take the free IDENTITY-AND-ACCESS-MANAGEMENT-ARCHITECT practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other IDENTITY-AND-ACCESS-MANAGEMENT-ARCHITECT practice questions
- Question 2Universal Containers (UC) is planning to deploy a custom mobile app that will allow users…
- Question 3Universal containers (UC) is setting up Delegated Authentication to allow employees to lo…
- Question 4Universal Containers (UC) wants to use Salesforce for sales orders and a legacy of system…
- Question 5Universal containers (UC) is successfully using Delegated Authentication for their salesf…
- Question 6Universal Containers (UC) plans to use a SAML-based third-party IdP serving both of the S…
- Question 7Universal Containers (UC) would like its community users to be able to register and log i…
