Understanding Blade Directives for JWT API Authentication

Asked 2 years ago, Updated 2 years ago, 145 views

JWT
https://packagist.org/packages/tymon/jwt-auth

I would like to use @auth with the above authentication.
What should I do?

php laravel jwt

2022-09-29 22:02

1 Answers

It's solved.In the first place, I should have given JWT tokens as query parameters during HTTP GET, and the Middleware should have merited the request.

-- This answer is to repost the answer that was posted by the questioner as Comment as a response by the community wiki.


2022-09-29 22:02

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.