Комментарии:
UPDATE FOR LARAVEL 6.0+:
I've seen a few comments about the above video not working in Laravel 6. There was a discussion and back-and-forth on the GitHub repo about this, and there seems to be a stable solution out there now. Run "composer require tymon/jwt-auth ^1.0.0" from your project root or update your composer file directly to reflect using version ^1.0.0 of tymon/jwt-auth.
I am not getting it Please can you provide the soruce code cause i can see dumplecated auth folder i am its just confusing
Ответитьcan we use this package for authentication of our private channels for Laravel websockets
ОтветитьJust I out curiosity, I want to know why you didn't put the whole code, inside try, while creating post? I use to put whole things inside try and the catch if there any error. Any specific reason for that??
ОтветитьThanks
Ответитьcan anyone tell me how auth()->attempt($creds) generated token?
ОтветитьThank you @Andrew, this is really helpful for new learners like me..
Ответитьhow can i test the login and register apis in a view in laravel not just postman. i want to see a register and login page in blade.php thats works with the token too
ОтветитьAwesome, thank you.
Ответитьtymon/jwt-auth is not compatible with php8. Can you advice any other jwt package?
ОтветитьGetting
token:false
My credentials are fine...
Bro we don't need to hear your keyboard.
ОтветитьAwesome tutorial. Subscribed👍
ОтветитьNice Job!!! It was very helpfull!!!
Ответитьthanks
ОтветитьIf the token refresh, will it reset the expiration time?
ОтветитьGreat and perfect. Thank you
Ответитьthis is i needed the most, need to make default guard web, but need API auth
thanks !
Thx, Very helpful tutorial, and it's working on Laravel 8
ОтветитьThank you sir 👍
Ответитьthanks a lot
Ответить