on 2019 Aug 22 10:33 AM
Hi,
We are in the process of integrating hybris b2b accelerator with Okta SSO solution. We leveraged 'samlsinglesignon' extension and all the configuration done properly. Round-trip from Okta to hybris happens successfully and able to get the uid in hybris.
But not sure about how to set this user in session and create hybris session Hybris SSO trail shows only ASM integration. I tried the same as reference in storefront but i'm not able to get the session in hybris with the user from okta. Where and which class/flow should I customize in order to successfully establish the session?
Request clarification before answering.
Dear Andres
Please check my comments below:
After you have got oktaUserUID you need to do something like the following:
..
UserModel currentUser = userService.getUserForUID(oktaUserUID);
userService.setCurrentUser(currentUser);
...
customerFacade.loginSuccess();
Please let me know if it works for you.
Thanks
Igor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 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.