Skip to Content
0
May 06, 2020 at 05:09 PM

How to override the coreAuthenticationProvider in ycommercewebservices?

930 Views

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