on 2020 May 06 6:09 PM
We are using 6.2 hybris commerce. Currently site is based hybris commerce and cms. We are trying to move to different FE by making use of OCC apis in hybris. In existing application user is authenticated in CRM, for that we have a provider which extends b2baccelerator authentication provider in storefront extension. As we are moving to ycommerece webservices, we are trying to use oauth2 and enabled it for token generation. OOTB authentication is done by core authentication provider. We need to extend the core authentication provider to make authentication initially with custom CRM authentication and then onto core authentication and flow need to go token generation. In this approach we are unable to override or extend the core authentication provider. In some forum questions I see people made a patch on oauth module files. For us it may be not be possible as I need to override or place custom provider in ootb place. Please advise. Appreciate your help
Request clarification before answering.
Praveen, please take a look at the following components to see if it helps:
<authentication-provider ref="wsAuthenticationProvider" /> - security-spring.xml from ycommercewebservices
<alias name="defaultWsAuthenticationProvider" alias="wsAuthenticationProvider" /> - oauth2-spring.xml
To introduce new authentication provider for OCC, you need to generate new extension of type ycommercewebservices
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
19 | |
17 | |
3 | |
2 | |
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.