Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obtaining token when logging on via Cookie #4

Open
clarotech opened this issue May 16, 2022 · 2 comments
Open

Obtaining token when logging on via Cookie #4

clarotech opened this issue May 16, 2022 · 2 comments

Comments

@clarotech
Copy link

Firstly, thanks for the code. It is really helping me get to grips with Cognito and helping me evolve my SAAS project.

Describe the bug
When creating a user, I can then log in and view the associated keys/tokens that were obtained via the login process.
If I then re-enter my app the cookies are used (good) but there no longer appears to be any tokens. As such if I try to log out it fails as there is no token to perform the operation.

@referbruv
Copy link
Owner

Thanks for pointing out. Looks like a scenario I might have missed out, so please allow me to look into it and add a solution.

Glad that the solution was helpful. Cheers!

@JeremyBl
Copy link

Hi, thanks for the code too.

Have a solution been discovered or an alternative approach been devised to avoid encountering this exception? I'm facing a similar issue and would like to know if there have been any developments in resolving it.

Thank you!

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

No branches or pull requests

3 participants