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

If the application happens to be using an expired JWT, the logout operation causes an exception #258

Closed
specialtactics opened this issue Jul 16, 2024 · 0 comments · Fixed by #259
Assignees
Labels
bug Something isn't working

Comments

@specialtactics
Copy link
Member

specialtactics commented Jul 16, 2024

Subject of the issue

If the application happens to be using an expired JWT, the logout operation causes an exception.

Your environment:

Q A
Bug? yes
New Feature? no
Framework Laravel
Framework version 9-11
Package version 2.6
PHP version 8.2

Steps to reproduce

Have a JWT which is expired
Run the logout method of the auth provider

Expected behaviour

It should complete the operation of logging out, and there should not be a user logged into the app afterwards

Actual behaviour

Throws a TokenExpiredException

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant