on 2022 Feb 04 12:54 PM
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
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.