Laravel Rest Api Authentication With JWT Authentication (Jason Web Token Auth) - Laravel
HTML-код
- Опубликовано: 8 сен 2024
- #laravel #php #api
Today We will learn that how can we implement authentication in laravel rest api with jwt (jason web token) authentication. Well I tried to explain every point that will help you to make authentication api with jwt in laravel.
Thanks!
Thanks a lot brother, you are great.
I was stuck at installation. You demonstrate instillation very great
👍🏻
Very good tutorial sir
Very Good Sir
What's the different in using php open source, tymonjwt and firebase jwt? They have different syntax n make me confused
Really helped
Thanks
but the token not set the values example email id ,username token is empty how to set custom files set on token
very informative and to the point
to encrypt the token that time the token is not any custom files set on the token how to fix this problem
I got this error: "message": "Class \"App\\Http\\Controllers\\Api\\User\" not found",
Import the User class..
General error: 1364 Field 'password' doesn't have a default value
Please make password field nullable.
We have to install php for php command u have copied
Yes you have to install
in post man i am getting 404 not found , what to do
That means your route not define in api.php or you are calling it wrong
@@takneekicode thank you sir register api is working , and in login api i get value to $credentails i.e email and password but token is not getting generated even is the credentials matches the database value.
bhai logout ka dikhao yaar