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

Fix loginWithToken when token is invalid #126

Merged
merged 4 commits into from
Sep 11, 2023

Conversation

vforvasile
Copy link
Contributor

Hi!

After we upgraded to 2.4+ we got some issues related to loginWithToken. After some investigation, it seemed that after the login token expired, it tried to loginWithToken again and again even though it was logged out by the server with [403].

I added a small fix, better suggestions are welcome.

Here's a small video with an invalid token:

token.mp4

@jankapunkt
Copy link
Member

@vforvasile can you please fix the lint errors via npm run lint:fix ?

@jankapunkt jankapunkt changed the base branch from master to dev September 11, 2023 09:56
@jankapunkt jankapunkt merged commit f887973 into meteorrn:dev Sep 11, 2023
10 checks passed
@jankapunkt jankapunkt mentioned this pull request Sep 11, 2023
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

Successfully merging this pull request may close these issues.

None yet

4 participants