on 2024 Feb 01 9:51 AM
Hello,
Is it possible to integrate the Commerce with an external openid connect Identity Provider? The goal is to enable SSO with OIDC.
I can only find documentation about doing this with SAML or using OIDC with the Commerce Platform as Identity Provider.
What we need is the Commerce as client and doing login against an external authorization server, like Keycloak.
Thank you.
Request clarification before answering.
Yes, this is possible.
You will find information on the required settings in the storefront here: https://help.sap.com/docs/SAP_COMMERCE_COMPOSABLE_STOREFRONT/eaef8c61b6d9477daf75bff9ac1b7eb4/dc307a...
As a good starting point for backend implementation, I recommend you check out the sapcxsinglesignon and sapcxenvconfig extensions here: https://github.com/sapcxtools/workspace/tree/develop/core-customize/hybris/bin/custom/sapcxtools
The general idea is to add an extra filter that runs before the Spring Security filter chain, checks for token validity and saves the token in the token store, so that the spring security filter chain will accept the user as authenticated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @bbegbi
I do not have direct experience with integrating an OIDC provider, but I'd recommend investigating the Custom Data Cloud integration with SAP Commerce Cloud as a starting point
The following extension provides a good example of utilizing the third party. I am not sure if this would be applicable to OIDC but may serve as a good first step
gigyafacades Extension | SAP Help Portal
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
21 | |
16 | |
3 | |
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.