Skip to content

Token not being parsed if encrypted #6

Open
@tomstreeter

Description

This is quite possibly me doing something wrong, but I can successfully set a token for a user and retrieve the user information via

$user =Auth::guard('api')->user() (And there was much rejoicing.)

as long as our old friend

\App\Http\Middleware\EncryptCookies::class

is not active in the 'api' middleware group. (less rejoicing occurs)

Put another way, it appears that the api_login_ token is getting encrypted, but it's not getting decrypted. Is there something I'm missing?

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions