Skip to content

Fix loginWithToken when token is invalid#126

Merged
jankapunkt merged 4 commits intometeorrn:devfrom
vforvasile:fix/token-login
Sep 11, 2023
Merged

Fix loginWithToken when token is invalid#126
jankapunkt merged 4 commits intometeorrn:devfrom
vforvasile:fix/token-login

Conversation

@vforvasile
Copy link
Copy Markdown
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
Copy Markdown
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
@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.

3 participants