In phpunit.xml
you need to set up the env variable JWT_BLACKLIST_ENABLED
to false
. This problem occurs when you try to make two consecutive calls to a protected route. The first one goes fine, but the second one needs the refreshed token returned in the response from the first request. To avoid unnecessary code in tests to transfer token from a response to a request, we just decided to turn off the token black list feature (which make the toke invalid after its use) for the tests.
-
Notifications
You must be signed in to change notification settings - Fork 1
A social network for your thoughts
Artenes/thoughts
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A social network for your thoughts
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published