Laravel Sanctum Login And Register Api | Token-Based Login And Register Laravel Sanctum | HINDI

  Рет қаралды 34,119

Ajay yadav

Ajay yadav

2 жыл бұрын

Here, I will show you how to work with the laravel 9 sanctum API authentication example.
Laravel 9 Sanctum provides a simple authentication system for SPAs (single page applications), mobile applications, and simple, token-based APIs. Sanctum also allows each user of your application to generate multiple API tokens for their account.
If you also want to create an API for your mobile application then you can follow this video for how to create the rest API step by step with laravel 9 and sanctum.
Laravel Sanctum Login And Register Api | Token-Based Login And Register Laravel Sanctum | HINDI
Part #1 (Install Vue 3 In Laravel 9)
• Install Vue 3 In Larav...
Part #2 (Vue Router 4 In Vue 3)
• Vue Router 4 | Vue 3 L...
Part #3 (Laravel 9 Sanctum Token Api login and register)
• Laravel Sanctum Login ...
Part #4 (Vue 3 Login, Register And Dashboard Pages)
• Laravel 9 Vue 3 Login ...
Our Playlists:
Laravel 9:
• Laravel 9
Vue 3 Laravel 9 Tutorial:
• Vue 3 Laravel 9
Laravel Testing:
• Laravel Testing
Nuxt Js
• NuxtJS
Laravel And Vuejs
• Laravel And Vuejs
Laravel Notifications:
• Laravel Notification
Laravel And React Js
• Laravel ReactJs
Laravel Interview Questions And Answers:
• Laravel Interview Ques...
Laravel User Management System:
• Laravel User Managemen...
Laravel Multi Auth System
• Laravel Multi Auth System
Follow us:
YoutTube: / ajayyadavexpo
Instagram: / ajayyadavexpo
Twitter : / ajayyadavexpo
Linkedin : / ajayyadavexpo
Github : github.com/ajayyadavexpo
Please subscribe to my channel and share the video with your friends.
#laravel9 #laravelsanctum #laravelapi

Пікірлер: 44
@Tech2Electronics
@Tech2Electronics Жыл бұрын
Explanation every single word to code line is to much excellent ❤️thank you so much ☺️
@ajay-yadav
@ajay-yadav Жыл бұрын
thanks buddy
@manishjha6239
@manishjha6239 4 ай бұрын
Ajay Bro superb explanation. Thankyou so much for such awesome tutorial. Keep it up brother
@_isDelta
@_isDelta Жыл бұрын
Thanks for the tutorial.
@techtipstricks2776
@techtipstricks2776 10 ай бұрын
wow .amazing .u got a subscriber
@Muhammadilyas-dv6nb
@Muhammadilyas-dv6nb Жыл бұрын
Nice and clear
@zahidurrehman431
@zahidurrehman431 Жыл бұрын
Great Sir😀
@AkhileshYadav-lv3kh
@AkhileshYadav-lv3kh 2 жыл бұрын
Thank you sir
@mishenthakshana3407
@mishenthakshana3407 2 жыл бұрын
Thankyou sir
@jjplays404
@jjplays404 2 жыл бұрын
Awesome -- Much appreciated ^_^
@ajay-yadav
@ajay-yadav 2 жыл бұрын
You're welcome!
@mdm.rahman1928
@mdm.rahman1928 5 ай бұрын
Your video helped me, thanks a lot.
@ajay-yadav
@ajay-yadav 5 ай бұрын
Glad it helped
@dilipraj8630
@dilipraj8630 Жыл бұрын
Really good
@ashique12009
@ashique12009 Жыл бұрын
So good, but if sanctum in built in now then we don't need to use passport now, right?
@aqeelrasool1758
@aqeelrasool1758 2 жыл бұрын
Amazing your teaching skills are much better then other youtubers with 100K plus subscribers. Keep it up.
@ajay-yadav
@ajay-yadav 2 жыл бұрын
Thank you so much 😀
@rehmanghani6726
@rehmanghani6726 Жыл бұрын
Nice video Ajay. Can we use Sanctum API token for only APIs or we can use it in web application as well?
@SurajBajracharya
@SurajBajracharya Жыл бұрын
😍 lovely
@utkarshshuklacse
@utkarshshuklacse Жыл бұрын
sir please make video on Sanctum with breeze auth please
@sandipdas4765
@sandipdas4765 2 ай бұрын
Locally i am getting token but server also getting token but it is an unauthorized
@pesheenmstafa3401
@pesheenmstafa3401 Жыл бұрын
This comment is not related to the topic but I am wondering if we use Laravel sanctum with Laravel fortify Does I have to override the logic of the registration and login Because simply when I login with the default the fortify does not generate any record for Logged in user In table personal-access-token Am I mistaken or to do that I have to overrides the default or with fortify is different approach or it depend on the type of the application Dear sir can you make a tutorial about that or any advise
@avangerinfinitywar3999
@avangerinfinitywar3999 11 ай бұрын
Thank u bro u just saved me with 6o others😂
@user-kd8bl8vb6y
@user-kd8bl8vb6y 6 ай бұрын
thank you so much ☺
@ajay-yadav
@ajay-yadav 6 ай бұрын
You are so welcome!
@user-kd8bl8vb6y
@user-kd8bl8vb6y 5 ай бұрын
i have watched all of your video, your video are perfect and easy to understandable@@ajay-yadav
@user-co6dl5yk2d
@user-co6dl5yk2d 5 ай бұрын
thanks bro
@ajay-yadav
@ajay-yadav 5 ай бұрын
Welcome
@programmersohan599
@programmersohan599 2 жыл бұрын
Good
@devrajsharma7379
@devrajsharma7379 6 ай бұрын
One question sir, how to get the whole source in which you are editing..?? Comment reader, please don't judge me. I'm a beginner in api field. Anyone knows the answer, help me . And thanks in advance
@user-kd7pz1je4g
@user-kd7pz1je4g 10 ай бұрын
bhai jan ye $success variable define kahan kia hai?
@akhileshkumar-iu9uq
@akhileshkumar-iu9uq 9 ай бұрын
How to check if token is expired or not using method
@zubairmukhtar1372
@zubairmukhtar1372 Жыл бұрын
what is the difference between passport and senctum? Which is better for api ?
@coderswat
@coderswat Жыл бұрын
Passport is for big api project's, sanctum is small one
@sandipdas4765
@sandipdas4765 2 ай бұрын
But i am using passport token
@code_for_All
@code_for_All 2 жыл бұрын
sanctum use karke multiple authentication api banao
@shanawarrasheed5371
@shanawarrasheed5371 2 жыл бұрын
hello sir i have a question i have two laravel application having different database but both have same user credential stored in user table and both app are running respectively at a same time is it possible when i logout from one laravel application other laravel application which have same user credential should be logged at respectively inshort when i logout from one other app show also be logged out
@farmboy4354
@farmboy4354 2 жыл бұрын
Hi Shananwar, No, It won't effect the other application even if you have same credentials. Make sure you run the second app in a different port: php artisan serve --port=8080 otherwise only first program will work in the default port 8000. For more details you have to watch Ajay Yadav's session videos how it works. I hope you can understand.
@shanawarrasheed5371
@shanawarrasheed5371 2 жыл бұрын
@@farmboy4354 i run other app on other port one app is at 8010 other is at 8001 i just want when i logout from 8010 other app running at 8001 should automatically logout
@farmboy4354
@farmboy4354 2 жыл бұрын
​@@shanawarrasheed5371 I think I have got confused with your query. If I understand correctly, you are trying to logout from APP2 while logging out from APP1 as it has same user credentials, to my understanding it's not possible as these are 2 different APPs.
@shanawarrasheed5371
@shanawarrasheed5371 2 жыл бұрын
@@farmboy4354 yes i want to logout from app2 on logout from app 1 just like google account when you logout from google account then all the devices attached to it automaticlly logout i am searching this but could'nt find anything and i am stuck and i have to do this
@sheikh4218
@sheikh4218 Жыл бұрын
can you explain me something
@SURAJKUMAR-kp8xj
@SURAJKUMAR-kp8xj Жыл бұрын
Bhai tumhara sb shi hai phle tum apna camera thik kro
Laravel 8 tutorial in Hindi -  API authentication with Sanctum
15:56
Code Step By Step
Рет қаралды 25 М.
Why Is He Unhappy…?
00:26
Alan Chikin Chow
Рет қаралды 56 МЛН
Finger Heart - Fancy Refill (Inside Out Animation)
00:30
FASH
Рет қаралды 28 МЛН
Llegó al techo 😱
00:37
Juan De Dios Pantoja
Рет қаралды 58 МЛН
Laravel 8 REST API With Sanctum Authentication
54:13
Traversy Media
Рет қаралды 544 М.
Laravel 8 tutorial -  API authentication with Sanctum
15:51
Code Step By Step
Рет қаралды 81 М.
Laravel 11 API in 13 minutes | Sanctum
13:49
WebDevWithArtisan
Рет қаралды 13 М.
What is JWT? JSON Web Tokens Explained (Java Brains)
14:53
Java Brains
Рет қаралды 1 МЛН
Laravel: Create Public API with Cache and Rate Limits
12:18
Laravel Daily
Рет қаралды 45 М.
Why Is He Unhappy…?
00:26
Alan Chikin Chow
Рет қаралды 56 МЛН