@whatthef You don’t “log out” when using token-based authentication. The token is either valid or not.
Feb 2, 2021
5
Level 1
Passport test logout after actingAs
How can I test logout using passport after actingAs? Token revoke doesn't seem to work
Level 80
@whatthef You can’t really expire the token as Passport::actingAs doesn’t actually create a real token; it creates a mock:
1 like
Please or to participate in this conversation.