on 2022 Jun 10 6:52 AM
Hi Experts,
I am implementing SAML SSO in sap commerce Backoffice.
Once control comes back to SAP Commerce after successful authentication from IDP, I am getting below error in sap commerce :
"https://localhost:9002/samlsinglesignon/saml/SSO"
HTTP Status 401 – Unauthorized
console log:
INFO [hybrisHTTP38] [SAMLProtocolMessageXMLSignatureSecurityPolicyRule] SAML protocol message was not signed, skipping XML signature processing
No error in console logs.
Regards,
Siddharth
Request clarification before answering.
Hello Siddharth,
First of all, The log message in your question is just an informative log message, hence you may just ignore it.
With regards to the error you are facing after the successful authentication from IDP and redirection to Commerce Backoffice, There are few possible root causes. I am listing down what come to my mind at the moment:
1- Checking SAML response: You may check the saml response from IDP using SAML Tracer Firefox Addon / Chrome extension. You can check the response attributes from IDP.
2- Checking SAML Mapping: You may check the correctness of SAML mapping in the Backoffice (System -> SAML Mapping) configuration.
3- Checking Saml sign sign on extension setup in your project: You may need to review the different configurations related to the extension.
Additionally, feel free to contact me thru my LinkedIn, I would be happy to assist 🙂
Regards,
Abdul Rahman Aldali
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Abdul for quick response !
I have tried testing the SSO with incognito mode in browser and now the error doesn't show but the user is getting redirected to Backoffice login page.
The user is getting created in commerce but unable to access Backoffice after successful verification from IDP.
Any clue on this ?
Hi Abdul,
This was resolved by referring to point "3- Checking Saml sign sign on extension setup in your project". Had to do few changes in property file and it worked.
Thanks again!
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.