cancel
Showing results for 
Search instead for 
Did you mean: 

Janrain login widget authentication with hybris storefront

tharun_levaku
Discoverer
0 Kudos
297

Hi All,

we are trying to integrate janrain idp widget based login authentication where registration also happens on idp not in hybris .

1) Janrain login widget is integrated on hybris login screen instead of login.jsp . User enters username and password on signin widget intern calls janrain-idp for authentication and responds back with accessToken and basic user data to client browser.

2) Now we have to consume the token and get the user loggedin to storefront and creates session .

Note - Since we dont have login.jsp loaded there is no call happening to /j_spring_security_check .

Please help to achieve point .2

View Entire Topic
romitchhabra
Participant
0 Kudos

Hi Tharun,

One option could be to send the access token and user details to your server where you verify that it is genuine (one way is to call the Idp to check if it is valid or you may be able to decrypt the token and match the user details like it happens with Okta SSO) and if it is valid then just start a session in hybris by creating a jalo session and set current user as the user which you received from browser.