3

Hybris user not authenticated after SAML successfu... - SAP Community

 1 month ago
source link: https://community.sap.com/t5/crm-and-cx-questions/hybris-user-not-authenticated-after-saml-successful-round-trip/qaq-p/13666005
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Hybris user not authenticated after SAML successful round trip

phoude

Participant

a week ago

we are using the samlsinglesignon extension to implement SSO with Azure B2C IDP. After going through all the configuration steps, we are able to perform SSO authentication but the hybris user is not authenticated. I was expecting the extension to take care of it.

I extended DefaultSSOService and added the below code:

this.userService.setCurrentUser(user);
this.customerFacade.loginSuccess();
In my debugging session, I can see that "user" is the one I authenticated via SSO. However, I see that the "currentUser" is reverted to Anonymous. I can see that when placing a breakpoint in a BeforeControllerHandler code for example.
I am not sure what I am missing here

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK