Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel passport vue 401 Unauthorized

Consuming Your API With JavaScript
'web' => [
    // Other middleware...
    LaravelPassportHttpMiddlewareCreateFreshApiToken::class,
],

https://laravel.com/docs/5.3/passport#consuming-your-api-with-javascript
 
PREVIOUS NEXT
Tagged: #laravel #passport #vue #Unauthorized
ADD COMMENT
Topic
Name
1+9 =