cancel
Showing results for 
Search instead for 
Did you mean: 

SAML implementation for storefront(b2bcustomer) and ASM

Former Member
0 Kudos

Hi Experts,

Can someone guide me how to implement SAML for both storefront (b2bcustomer) and asm together.

Thank You Aparna K Penumatcha

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Can someone help me out on this?

0 Kudos

Can you please share what is the issue you are facing

Former Member
0 Kudos

I am trying to understand how to integrate SAML with both ASM and my custom storefront. As the OOB we have for ASM but not for Storefront. If anyone had done dit can they guide me with steps.

Former Member
0 Kudos

I am able to login as B2BCustomer but it is going to AssistedServiceFilter not to the storefront. That is the issue I am facing right now.

0 Kudos

By Default, hybris can generate a LoginToken cookie in the browser which is passed with the request , this is then extracted in the assisted service filter and login is successful if the credentials are a match, it only logs in employees which have ASM AGENT role. For B2bcustomer login you can update the storefront-spring-security.xml to accept LoginToken in the remember-me service to authenticate the users. Please also have a look at the SAMLSingleSignOn extension.

Former Member
0 Kudos

Thanks for the reply. It was a good idea. But it didn't workout as remember me services cookie expectation and SAML Cookie expectation was different.

But it gave me an Idea of creating my own Filter which calls the B2BAuthenicationProvider and then logs in. Not sure how much it is going to work. But trying to see this. If you feel that I am missing some point to let me know.

Thanks Aparna K Penumatcha