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

Added logout on token expiry #171

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

HeeManSu
Copy link
Contributor

No description provided.

@HeeManSu HeeManSu marked this pull request as draft December 15, 2024 18:49
@HeeManSu HeeManSu marked this pull request as ready for review December 18, 2024 11:09
@viferga
Copy link
Member

viferga commented Dec 18, 2024

This needs a test and review the existing breaking test, otherwise I will not merge it.

@viferga viferga marked this pull request as draft December 18, 2024 16:03
@viferga
Copy link
Member

viferga commented Dec 18, 2024

@HeeManSu I have added a secret called: METACALL_AUTH_EXPIRED_TOKEN, with this you will be able to test the token expirity.

Basically when you try to login with an expired token, it should show something like:
The token has expired, login again:

And then the normal login.

@HeeManSu
Copy link
Contributor Author

@HeeManSu I have added a secret called: METACALL_AUTH_EXPIRED_TOKEN, with this you will be able to test the token expirity.

Basically when you try to login with an expired token, it should show something like: The token has expired, login again:

And then the normal login.

okay.

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.

2 participants