Open
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?