Skip to content
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.

Token expired or invalid signing out #7

Open
RagulSithuraj opened this issue Oct 10, 2019 · 2 comments
Open

Token expired or invalid signing out #7

RagulSithuraj opened this issue Oct 10, 2019 · 2 comments

Comments

@RagulSithuraj
Copy link

Hi,
I have followed all mentioned steps to integrate AWS cognito to one end point (e.g, "https://google.com")
After finishing configuration part, I was successfully got opened out cloudFrount link for creating account, but I'm getting message like Token expired or invalid signing out! while signing up.

token expired

Please help me to solve this issue.

@KoldBrewEd
Copy link
Contributor

Please provide steps to reproduce

@mzaatar
Copy link

mzaatar commented Nov 17, 2020

Same here. I'm not sure what are the steps to reproduce. I just followed the steps in the guide and got the same problem. Maybe the config is updated in AWS but this repo is not up to date? not sure. Will debug it and see what I can do.

Update: I figured out what was the issue(s), it is all typos and misconfiguration. Nothing wrong with the sample code. Here are my notes:
1- Make sure that you change the region name in all settings in auth.js file if you are using a region other than the one specified in the sample. In my case, I was using ap-southeast-2 instead of us-east-1
2- The endpoint variable should have the https: at the beginning while the appDomain var shouldn't have it

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

3 participants