Skip to Content
0
May 11, 2018 at 03:55 PM

Storefront login using OAuth

621 Views

We are using OAUTH2/OpenID connect (Built into Hybris) to authenticate external users/applications. So when the user tries to access an external resource, the user is redirected to the OAUTH2 login.jsp in Hybris and asked to log into Hybris, After entering Hybris credentials, the user is successfully routed to the correct application. Our issue is that we want users to log into the standard storefront login. If they are authenticated in the storefront they should not be redirected to OAUTH2 login page. However, that is not how this is working. It appears that Hybris is creating separate contexts for these paths...Can this be addressed through Spring configuration with session management? Has anyone done something similar?