cancel
Showing results for 
Search instead for 
Did you mean: 

Hybris user not authenticated after SAML successful round trip

phoude
Participant
0 Kudos

Hi,

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
 

Accepted Solutions (0)

Answers (1)

Answers (1)

phoude
Participant
0 Kudos

This article helped me resolve my problem: https://nurayfahri.medium.com/for-our-latest-finished-project-we-had-to-implement-sso-from-sharepoin...

This should be in a SAP Commerce Blog...