Laravel 8 tutorial in Hindi - API authentication with Sanctum

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024
  • In this laravel 8 API tutorial, we learn how secure api with laravel sanctum package and how to authenticate API with a simple way. This video is made by anil Sidhu in the Hindi language.
    Laravel restful API tutorial
    Install and Config
    Migration and Controller
    Example with API
    Test API
    Laravel 9 in hindi
    Interview Question for Sanctum
    Laravel 9 playlist in hindi
    • Laravel 9 tutorial in ...

Комментарии • 47

  • @codestepbystep
    @codestepbystep  2 года назад +8

    please support me by subscribe, like and comment :) thank you

    • @adnanali5075
      @adnanali5075 2 года назад

      Github link ??

    • @utkarshshuklacse
      @utkarshshuklacse Год назад

      sir yaha pe to custom auth use kiya hai per laravel 10 me breeze api aa gya hai so sir please make video on laravel+sanctum+breezeAPI

  • @abdullahabid8185
    @abdullahabid8185 2 года назад +1

    you are osm buddy greatt

  • @abdullahabid8185
    @abdullahabid8185 2 года назад +1

    Kindly develope a Greate helpful project in Laravel to professional your viewers skills

  • @surajpaudel6215
    @surajpaudel6215 2 года назад +2

    we can use all the techniques for API authentication, jwt is outdated but still can be used, a passport is for very complex API authentication, sanctam is featherweight API based so it is very easy to use in laravel.

  • @akSingh_120
    @akSingh_120 Год назад +1

    Its a main part of Laravel to make APIs, great tutorial, actually, I just created API using Passport instead by seeing your videos. thanks Sir for making such videos.

  • @chsahab1
    @chsahab1 2 года назад

    Hi Anil please make video Api Passport.

  • @MukeshSharma-zz1lt
    @MukeshSharma-zz1lt 2 года назад +1

    i want to ask a question , that bearer token ko aap postman se to bhej dete ho but actuall me vo frontend or webpage se kese get hoga , mai jitni bhi videos dekh rha hu sab postman se bhej rhe , actual me kisi k dimag me ye baat nhi aa rhi ki frontend se backend k pass kese ayega bearer token , ye bhi to btana chahiye

  • @jenishshrestha8613
    @jenishshrestha8613 2 года назад +1

    For a beginner which is better passport or sanctum???

  • @fakegaming6319
    @fakegaming6319 3 года назад +1

    Hello Sir
    Sir aapke description box main ek bhi link nhi hai ek bhi video ka pls share kr do.

  • @qasimali-hv9fk
    @qasimali-hv9fk Год назад

    How we pass token from front-end to back-end.
    Also sir make a video of assign multiple roles to different users like a admin can view complete detail of product and also perform action (edit and delete product) Other like a Manager or agent can view only product
    When admin check product then action table columns will be show else other users if access product then action table columns will be hide

  • @nepkhadkag5127
    @nepkhadkag5127 Год назад

    this problem arise when installing sanctum
    Could not find package laravel\sanctum.
    Did you mean one of these?
    laravel/sanctum
    laravel/airlock
    zach/sanctum-mongo
    setiawanhu/sanctum-auth
    shahroz/sanctum-mongo

  • @gamerx4294
    @gamerx4294 2 года назад

    No arguments expected for "vendor:" command, got "publish". showing this error when running publish command

  • @sagartrada9725
    @sagartrada9725 2 года назад

    I have error that class "Illuminate\Support\Facedes\DB" not found

  • @jayeshpatel907
    @jayeshpatel907 3 года назад

    Hello
    I want Mobile API sign up and sign in with socialite google, Facebook and apple. can you send me your video link or other video link?

  • @uttamkhuntia
    @uttamkhuntia 2 года назад

    Sir, I want to build a private api...this process is worked for me

  • @akashpandey9796
    @akashpandey9796 2 года назад

    Sir apki linkedin id kya hai kuch confusion hai sayad app mera confusion solve kar sako sir ye janta ho thoda silly questions pucha hoo

  • @rahulsavita9540
    @rahulsavita9540 3 года назад

    I am getting error. Please help me with this.
    php artisan vendor:publish --provider="Laravel\Sanctum\SanctumServiceProvider"
    Unable to locate publishable resources.
    Publishing complete.

    • @nobodywarehouse7442
      @nobodywarehouse7442 3 года назад

      try to do this your project folder than it gonna work
      (all commands you have to run after open cmd in your project directory) if you are not in project it not gonna work

  • @AliHaidar-zw1jx
    @AliHaidar-zw1jx Год назад

    Project starting k time esko krna prta hai ya last mein best way kia hai

  • @sufiyanjaved1553
    @sufiyanjaved1553 2 года назад

    where is Your github link

  • @hamzazafar3562
    @hamzazafar3562 2 года назад

    git hub link plz code

  • @salilgulati148
    @salilgulati148 3 года назад

    In your repository model is missing.. Can you please update the code.. I need to check how to create the token

  • @mianhasnain2599
    @mianhasnain2599 2 года назад

    brother mujhy description m koi link nazar ni ata

  • @osamagul1610
    @osamagul1610 2 года назад

    sir pls any api integrate with laravel project

  • @moinkhan8573
    @moinkhan8573 2 года назад

    sir manually authentucation please

  • @atifrehman2295
    @atifrehman2295 3 года назад

    authentication with JWT and passport Have you uploaded them as well ??? Can you please share me th e link

  • @sheikhxrehman8653
    @sheikhxrehman8653 4 года назад

    Sir kuch videos private ho gai hain ya delete. Kindly unko bhi re upload kr k dubara add krain playlist mey

  • @ashrafqureshi5381
    @ashrafqureshi5381 3 года назад +1

    composer require laravel/sanctum
    ye commant mere system per chal nahi rahi he sir kuch memory Error ki problem bata raha he

  • @kaushikprajapati4976
    @kaushikprajapati4976 2 года назад

    please provide GitHub link... thank you

  • @hubesh716
    @hubesh716 2 года назад

    Where is github link?

  • @vishalpatil4864
    @vishalpatil4864 Год назад

    hi

  • @asadrehman6684
    @asadrehman6684 3 года назад

    agr may token provide na karoo tu json response na chaheye na k api crash ho. kia iska koi hal hay?

  • @humayounqureshi7638
    @humayounqureshi7638 3 года назад

    woh links kahan hain github k???

  • @kuvarsingh9593
    @kuvarsingh9593 3 года назад

    please give the code url of github on description

    • @sanjeetsagar
      @sanjeetsagar 3 года назад +2

      github.com/anil-sidhu/laravel-sanctum

  • @bharisankarpatra5846
    @bharisankarpatra5846 4 года назад

    So nice 😊🤩

  • @laughitout9299
    @laughitout9299 3 года назад

    nope not working!

    • @mrsneaky3393
      @mrsneaky3393 3 года назад

      same did you find any solution?

  • @mustafa-shumaila
    @mustafa-shumaila 2 года назад

    Hi, nice explanation
    I impliment this to a exsiting laravel project which is actually a meeting cloud app, I am getting this error
    " SQLSTATE[42S22]: Column not found: 1054 Unknown column 'email' in 'where clause' (SQL: select * from `users` where `email` is null limit 1) in file "
    any once can suggest me the solution
    I tried by creating email column but it not resolved
    Thank you

    • @rohitpagare5352
      @rohitpagare5352 Год назад

      proper coloumn nhi mil rahe haii usko...database se..or databse mai create at and update column haii kya check kar

    • @utkarshshuklacse
      @utkarshshuklacse Год назад

      just start xampp server