I am using SSO and the flow is like this
1. User clicks on add product on our site and it takes them to foxy cart cart page
2. They click checkout and since SSO is activated they come back to our site for logging in
3. we validate credentials and then redirect them to foxy cart checkout page passing appropriate authkey for this customerid
4. customer completes order and gets redirected back to our site.
Issue - when customer is on our site (step 1) their info is in our session say session 1, when they come back from foxy cart after completing order (step 4) they do land with correct session. However, when they are redirected to our site for SSO (step 2) it creates diff session, say session 2.
Since login is created in session 2, when they come back to our site after completing the order (which gets into original session) our site thinks user is not logged in and hence does not show order details for that customer.
Is there any setting/parameter that needs to be passed to cart site for SSO link landing our site on correct session?
Thanks for your help.