This topic provides answers to some frequently asked questions about single sign-on (SSO) in CloudSSO.
View a SAML response in a browser
View the SAML response in Google Chrome to troubleshoot SSO issues. The following steps use Google Chrome 108.0.5359.125 (64-bit) as an example. Steps may vary by browser version.
-
Press F12 to open the DevTools console.
-
Click the Network tab and select Preserve log.
-
Reproduce the issue.
-
On the Network tab, search the log for sso. Select the matching entry and click the Payload tab to view the SAML response.
What do I do if the error message "InvalidSubjectValue" or "InvalidUser" is reported during SSO?
| Cause | Solution |
| No CloudSSO users are created in CloudSSO, or the username of the created CloudSSO user is different from the username of the user in your identity provider (IdP). |
|
| The user failed to be synchronized by using System for Cross-domain Identity Management (SCIM). | Query the SCIM synchronization logs in your IdP and troubleshoot the issue. |
The User Principal Name (UPN)of the user in your IdP is different from the UPN that is synchronized to CloudSSO. The following list describes the possible causes:
|
Make sure that the conversion rule that is configured in the SSO settings of your IdP is the same as the conversion rule that is configured in the SCIM synchronization settings. |
What do I do if the "The assertion signature is invalid" error message and "The assertion signature is invalid or Sigin token expired" error message are reported during SSO logon?
| Cause | Solution |
| The public-private key pair that is used for signatures in your IdP is rotated. However, the metadata of your IdP in Alibaba Cloud is not updated. | Update the metadata of your IdP in Alibaba Cloud. You can download the latest metadata file from your IdP, and then upload the metadata file to Alibaba Cloud. |
| The public-private key pair that is used for signatures in your IdP is rotated, and the metadata of your IdP in Alibaba Cloud is updated. During the rotation, the original private key may still be used in your IdP. The metadata of your IdP in Alibaba Cloud contains only the new public key. | We recommend that you specify both the original public key and the new public key in the metadata of your IdP.
|
| The metadata file failed to be uploaded because the size of the metadata file is excessively large. | Wait until the upload is complete. After the upload is complete, download the uploaded metadata file to check whether the metadata file is uploaded. |
Self-managed IdP: missing or incorrect metadata
|
Cause |
Resolution |
|
The metadata parameters do not conform to the SAML 2.0 protocol. |
Configure the parameters to conform to the SAML 2.0 protocol. SAML 2.0. |