Single logout flow single-logout-flow
Initiate single logout for specific mvpd initiate-single-logout-for-specific-mvpd
Prerequisites prerequisites-initiate-single-logout-for-specific-mvpd
Before initiating single logout for a specific MVPD, ensure the following prerequisites are met:
-
The second streaming application must have a valid single sign-on profile that has been successfully created for the MVPD using one of the single sign-on authentication flows:
-
The second streaming application must initiate the single logout flow when it needs to sign out of the MVPD.
- The first and second streaming applications obtain the same unique platform identifier payload as
JWS
orJWE
or the same unique user identifier payload asJWS
.
Workflow workflow-initiate-single-logout-for-specific-mvpd
Perform the given steps to implement the single logout flow for a specific MVPD as shown in the following diagram.
Initiate single logout for specific mvpd
-
Initiate Adobe Pass logout: The streaming application gathers all the necessary data to initiate the logout flow by calling the Adobe Pass Logout endpoint.
note important IMPORTANT Refer to the Initiate logout for specific mvpd API documentation for details on: - All the required parameters, like
serviceProvider
,mvpd
, andredirectUrl
- All the required headers, like
Authorization
,AP-Device-Identifier
- All the optional parameters and headers
The streaming application must ensure it includes a valid value for the unique platform identifier or the unique user identifier before making a request. For more details about Adobe-Subject-Token
header, refer to the Adobe-Subject-Token documentation.For more details about AD-Service-Token
header, refer to the AD-Service-Token documentation. - All the required parameters, like
-
Find regular and single sign-on profiles: The Adobe Pass server identifies both regular and single sign-on valid profiles based on the received parameters and headers.
-
Delete regular and single sign-on profiles: The Adobe Pass server deletes the identified regular and single sign-on profiles from the Adobe Pass backend.
-
Indicate the next action: The Adobe Pass Logout endpoint response contains the necessary data to guide the streaming application regarding the next action.
note important IMPORTANT Refer to the Initiate logout for specific mvpd API documentation for details on the information provided in a logout response. The Adobe Pass Logout endpoint validates the request data to ensure that basic conditions are met: - The required parameters and headers must be valid.
- The integration between the provided
serviceProvider
andmvpd
must be active.
If validation fails, an error response will be generated, providing additional information that adheres to the Enhanced Error Codes documentation. -
Indicate logout complete: If the MVPD does not support the logout flow, the streaming application processes the response and can use it to optionally display a specific message on the user interface.
-
Initiate MVPD logout: If the MVPD does support the logout flow, the streaming application processes the response and uses a user agent to initiate the logout flow with the MVPD. The flow may include several redirects to MVPD systems. Still, the result is that the MVPD performs its internal cleanup and sends the final logout confirmation back to the Adobe Pass backend.
-
Indicate logout complete: The streaming application can wait for the user agent to reach the provided
redirectUrl
and can use it as a signal to optionally display a specific message on the user interface.