Skip to content
This repository has been archived by the owner on Feb 24, 2018. It is now read-only.

I'm puzzled - the cognitoUser session seems to be disappearing.. #287

Closed
crowdwave opened this issue Feb 12, 2017 · 2 comments
Closed

I'm puzzled - the cognitoUser session seems to be disappearing.. #287

crowdwave opened this issue Feb 12, 2017 · 2 comments

Comments

@crowdwave
Copy link

The cognito user seems to be retained in localstorage across page changes, and earlier today it was retaining the cognito user session too.

Now, it appears that the session data is somehow being lost after a page change.

Can anyone suggest what might cause this?

@itrestian
Copy link
Contributor

The tokens are stored in local storage and that is not available across different domains, only available on the same domain.

@itrestian
Copy link
Contributor

It should be available across different page loads.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants