This article introduces the basic requirements for Volcano Engine to configure SAML Response parameters at the IDP when completing user SSO based on SAML 2.0.
SSO basic process please refer to: User SSO Overview .
The SAML response is sent by the IDP to Volcano Engine when the user logs into the IDP and requests to log into Volcano Engine. Volcano Engine realizes safe and fast SAML SSO login for users by verifying the signature in the SAML response and parsing the current user identity information passed in the SAML response.
The basic format for SAML is as follows. Please ensure that your SAML response is in the same format as the example below, with no missing elements.
<samlp:Response> <saml:Issuer>${Issuer}</saml:Issuer> <ds:Signature> ... </ds:Signature> <samlp:Status> <samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"></samlp:StatusCode> </samlp:Status> <saml:Assertion> <saml:Issuer>...</saml:Issuer> <ds:Signature> ... </ds:Signature> <saml:Subject> <saml:NameID>${NameID}</saml:NameID> <saml:SubjectConfirmation> ... </saml:SubjectConfirmation> </saml:Subject> <saml:Conditions> <saml:AudienceRestriction> <saml:Audience>${Audience}</saml:Audience> </saml:AudienceRestriction> </saml:Conditions> <saml:AuthnStatement> ... </saml:AuthnStatement> </saml:Assertion> </samlp:Response>
| Element | Explain |
|---|---|
| Issuer | The Issuer value must be the same as the EntityID element in the user SSOSAML metadata file that you upload in the Volcano Engine console settings. Volcano Engine needs to validate this field to ensure that the identity provider requesting login is one that has completed the trust configuration. |
| Signature | Based on the protocol specification, Volcano Engine requires that SAML responses must be signed and can be validated based on the security certificate information in the IDP metadata file to ensure the security and trustworthiness of the response content. Please sign in the corresponding position of the Response example. The Signature must contain the signature value, signature algorithm, and other information. |
Subject | Subject must contain the following elements:
Example of Subject element:
|
Conditions | Within the Conditions element, you must include an AudienceRestriction element that contains a uniquely valid Audience element that specifies the audience for the response. It must contain a fixed value that matches the EntityID in the user SSO SAML metadata file provided by Volcano Engine in the format https://signin.volcengine.com/${accountId}/saml_user/sso
|
You can try to log in to Volcano Engine. For specific login methods, please refer to: Multiple login methods for single sign-on .