JWT Authentication API responded {"error":"Unauthenticated"}
-
-
Just add
?token=true
in each request. -
@devansh-webkul said in JWT Authentication API responded {"error":"Unauthenticated"}:
?token=true
YES! Thank you! It works now.
But before it can work, I need to do this first:php artisan key:generate php artisan jwt:secret php artisan cache:clear php artisan config:clear