Sessions get lost

Hi,

We are trying to embeddable a WEB but this WEB uses sessions. The session seems to get lost because if you use the same browser but bypassing PureCloud it works. So the problem seems to be related to a SESSION PERSISTENCE issue.

Thanks,
Lucero

Hi Lucero,

Is it the embeddable framework portion that is not working or is it the application you are embedding the framework into that is not working? Also what specifically are you seeing happen (ex. page not loading, not remembering the user session, not receiving interactions, etc)?

Thanks,
Kristen

Hi Kristen,

When you navegate in the app, the app goes to take the PureCloud's token, the user session get lost, page not remembering the user session.

Thanks,
Lucero

Can you be more specific about your problem? What page? What session are you talking about? How does this relate to the embeddable framework?

We have an embedded page in a PureCloud's integration. This page generates sessions, this sessions are created with 'session', they store data to validate the information that is presented to them. When you navigate this page within PureCloud the sessions are lost, but outside the page works and we can store the sessions. How can we work sessions on one page within PureCloud?

An example of our Cookie:

{
"name": "Cookie",
"value": "pcAuth-userPrefLangTag=en-us; pcAuth-userPrefLocale=en_us; pcAuth-prevOrgName=heinekenmexico; tsid=SM3Kp3arYicW23_gBCZ_d9AOGVsf5nqWZAJ_J2gpDnU:a80490d9-6133-4d14-b688-b89a489d02fe:8f20641f-cccf-4039-bcf3-7ee28eaea750; pureCloudTheme=light-theme; _ga=GA1.2.579494895.1607450594; _gid=GA1.2.493761962.1607450594; ININ-Auth-Session=-7l0lrg4UYt4HHrb05SDyMlG2HcjEVQ5knJy5DJTgBo="
}

When we navigate in the page and try to use one of the menu options, the session get lost:

{
"name": "Set-Cookie",
"value": "ININ-Auth-Session=-7l0lrg4UYt4HHrb05SDyMlG2HcjEVQ5knJy5DJTgBo=; Path=/; Expires=Sun, 20 Dec 2020 17:45:31 GMT; HttpOnly; Secure; SameSite=None"
}

Thanks,
Lucero

It sounds like you're describing the behavior of your web app differing between when it's running as an embedded app in Genesys Cloud vs when it's run in a browser tab on its own. Note that an embedded app is entirely separate from the embeddable framework. When you load a web app as an embedded app in Genesys Cloud, it just loads the configured URL in an iframe. I'd recommend engaging the dev or support team for the app you're embedding to troubleshoot how it's managing its session information and why it's shared in a browser tab but not in an iframe.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.