Symptom
While logging into the system with SSO, getDocumentURL will returns a URL without SSO prefix.
Environment
-
SAP Hybris Cloud for Customer
-
SAP Business ByDesign
-
SAP Cloud Applications Studio
Reproducing the Issue
- Login to the system with SSO
- GetDocumentURL will return a URL without SSO prefix which cannot be opened
- SAML2 error will show while opening this URL
- Login to the system without SSO
- It works fine
Cause
This getDocumentURL is part of the platinum engineering namespace and was created as part of a project basis.The scenario you are trying to achieve was not part of the initial project used for this function. In this way, the backend coding does not include a request for this information about SSO. This code logic will not be changed as there are multiple customers using this without issues.
Resolution
Please kindly modify the resulting information from this function to include the SSO prefix in your link.
See Also
Keywords
getDocumentURL SSO SAML2 , KBA , AP-RC-BDS-SCR , ByDesign Studio Scripting (ABSL) , How To