jekinney

Generally you store the token in the local session (client side).

mushti

Have you set the authentication guard driver for api to passport in config\auth.php?

'guards' => [
        'web' => [
            'driver' => 'session',
            'provider' => 'users',
        ],

        'api' => [
            'driver' => 'passport',
            'provider' => 'users',
        ],
],

Sign In or create a forum account to participate in this discussion.