Skip to content

Cookie configuration - __sso cookie

Date: 2024-09-01

Status: accepted

Context

When we deployed the app into aws environment, getUser() method is not working as expected. Eventhough valid __sso cookie is present, the fetch call has always been made with annonymousId.

Decision

In order to fix the issue, we have introduced new method- getUserData() witin the app which handles __sso cookie and extracts userId from it.

Consequences

Some pre-existing smoke tests are not working properly hence, disabled them and created new issue in Github to adjust them.