Комментарии:
Too much unnecessary scenes
ОтветитьI'd watched many videos and failed buh was able to make my code work just after watching this video once
ОтветитьHow to get user data, using the access token?
ОтветитьThanks, Bro you save my days
ОтветитьHello, for create api (not create users) of others controllers, the steps are same?
ОтветитьVery Simply And Beautifully Crafted, Thank You It Was Wonderfull.
Ответитьhey thank you so much dude for this video ... I watched and tried many videos but this video is very helpful for me ... Thank you sooo much
Ответитьu tutorial are breath take , good job.
ОтветитьMethod Illuminate\Auth\RequestGuard::attempt does not exist error
ОтветитьIts not working on laravel 8
ОтветитьTomorrow I have a test and this video is very help full for me thank you so much
Ответитьundefined method ->attempt and ->createToken in function login.
ОтветитьHow to login and enter admin dashboard or user board according to role using same login panel along with use of password package and laracast
ОтветитьThank you!!
Ответитьjust one thing... what extensions do you use for importing classes in vscode? i use ubuntu 20.04 but importing classes i press f12 but it says no definition found. I know the issue is with extensions i use not with my OS.
would be better if you suggest all the extension you use.
thank bro. I forget to add accept in header hahaha
Ответитьthe password you've saving is getting saved as plain text
Ответитьvery easy. But you should also change the status code
ОтветитьGreat video, thanks :)
ОтветитьGood morning, how to save authentication passport key to posterior use, because the client don't access the terminal to generate code everytime it need.
ОтветитьThank you so much. Straight to the point with easy to understand explanation. Subscribed and turned on notifications.
Ответитьhow about logout ?
ОтветитьI am having issue logging the user. and I have one question
- when I use auth()->attempt or Auth::attempt(), it returns false. I have my password bcrypted in Db.
- I read that Auth->attempt require password to be hashed. I tried that too but did not worked.
I am using Laravel 7.12 and passport ^9.2
How to create multiauth in passport
ОтветитьWhen I do pa make:controller Api\AuthController -r it always creates a file named "ApiAuthController" instead of putting it into the "Api" subfolder. Strange.
Ответитьhey man, so cool. I'm using Laravel with Vue as the front end. Do you know how to get the user logged in data using that accessToken?
ОтветитьI trying in my project.. In localhost ist work
My problem in my hosting nor work
Error estabilised 350
Can you help me it my problem sir
hello please any help please message unauthorized in login api
ОтветитьThank you sir, nice series for API
Ответитьthanks a lot!
ОтветитьThank you! no change needed in Laravel7 all works fine.
ОтветитьPls help me do logout example! Very Thanks
ОтветитьWhat VS code theme is this? Great tutorial
ОтветитьMany thanks ! In this lockdown I decided to study Laravel, this tutorial helped a lot, straight to the point ! Thanks again.
Ответитьyou're too fast. plus you're not even explaining anything .
ОтветитьBit of a weird question, but is this authentication secure?
If I created an app to call the login and register endpoints, how would the app make use of the access token to authenticate the user?
Great video by the way :)
Thank you so much for the simplicity of this concept.
ОтветитьAnd then how to log out?
ОтветитьThanks simple, clear and straight forward tutorial. Missing just add auth middleware in others route.
ОтветитьBooommm!!!!!
ОтветитьHow to check if the token we have is valid?
Ответитьhow to update users data can you please make a video on it?
ОтветитьThank you for the video!!
I did the same as you but
i face two issues:
attempt always return false
and auth()->user()->createToken Cannot recognize the function createToken
if (!auth()->attempt($loginData, true)) {
return response(['message'=>'Invalid Credentials']);
}
$accessToken = auth()->user()->createToken('authToken')->accessToken;
started using laragon after this video for local development. i love it
ОтветитьThank you so much. Great content. But I an not going to say it is completed.
The missing part is that, How to use Token to access middleware protected route.
Should we send that generated token with each every data request of website?
Ответитьvery helpful video, thanks very much
Ответитьsuper video, thank you alot .
Ответить