How to Setup Laravel Passport | Laravel API Course | Learn Laravel API | Laravel API Tutorial

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024
  • In this video we will be diving into a full Oauth2 server implementation called Laravel Passport - Learn how to create APIs in Laravel for its real-time communication support.
    📚 New Udemy Course
    If you're looking to level up your Laravel skills, my new course "Udemy Migirations, Seeders, Factories, Query Builder, Eloquent & Relationships" is the perfect opportunity. Learn the essential tools and techniques for building robust and scalable web applications with Laravel: www.udemy.com/...
    📲 Let’s plan a meeting
    Plan a (paid) 1-hour meeting on Calendly to do portfolio reviews, code reviews resume reviews or a coaching session for Laravel. Please read the description before booking: calendly.com/c...
    💌 Newsletter
    Sign up for my free weekly email newsletter: www.newsletter...
    🔥 Resources
    - PHP Hosting (10% DISCOUNT): www.hostinger....
    - TikTok: / codewithdary
    - Instagram: / codewithdary
    - Twitter: / codewithdary
    - Blog: blog.codewithd...
    - Newsletter: newsletter.cod...
    - Patreon: www.patreon.co...
    - GitHub: github.com/cod...
    Want to learn more?
    - Courses: / @codewithdary
    #laravel #laravel8 #laravelapi #api #laravelpassport

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

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

    LETS CONNECT THROUGH INSTAGRAM.
    instagram.com/codewithdary

  • @techjavaid6177
    @techjavaid6177 3 года назад +8

    Dary is a Gem...Following him since 100 followers.. He explains everything nicely...such an awesome instructor

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

      I know Javaid, I remember everyone it's crazy! Appreciate your kind words

  • @Ab-cj6gl
    @Ab-cj6gl 3 года назад +2

    this channel is a hidden Gem

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

    The way of teaching is so nice and easy, plz make more videos on API's because i am creating my project with the help of your videos .He deserves more subscriber

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

      Thank you Huma! I'll keep making content for you! :)

  • @GoogleUser-mx5oe
    @GoogleUser-mx5oe 2 года назад +1

    Short but veryyy understandable. Thanks!

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

    Thankyou so much for such wonderfull content
    Waiting for next part

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

    Amazzzzzzzzzing stuff

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

    you are my hero
    i hope you make play list for vue or react or angular
    and some design pattern pls
    cuz you make every thing v.easy 💚💚💚

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

      Thanks Ahmed! Appreciate the kind words :)

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

    Laravel has new Auth starter kits, Breeze, JetStream, and Sanctum. Do you think you could do a video for at least one of them? If you asked me, I would like the one that uses Bootstrap, but you're the tutor, so whichever you pick is fine by me.

    • @codewithdary
      @codewithdary  3 года назад +3

      Yes I'll definitely make videos about it in the future. For now, I want to start off a bit easier since API's might be difficult for people to understand. But I do definitely get your point Alberto!

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

      @@codewithdary THank you so much!

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

    thanks for the amazing content ||||||||||||||||| 😍😍

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

    What is that font 😯 It's awesome

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

      Unfortunately I've been using another one so I can't look it up :(

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

      @@codewithdary Is that SF Mono, Didn't you remember

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

    Incredible work you're doing!
    May I suggest making a tutorial on Sanctum for token API authentication?
    Thank you.

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

      Great suggestion, I'll add it when I create new API videos :)

  • @emmanuelsofuwa280
    @emmanuelsofuwa280 11 месяцев назад +1

    Good day Dary, I have got this error and I amnot sure on how to resolve it in my AuthServiceProvider Passport::routes();
    Undefined method 'routes'

    • @codewithdary
      @codewithdary  11 месяцев назад

      stackoverflow.com/questions/74134310/call-to-undefined-method-laravel-passport-passportroutes

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

    Nice👍

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

    You are superb Dary!

  • @yusuphh.kajabukama4029
    @yusuphh.kajabukama4029 Год назад +1

    Hello Dary, thank you for the content. What is the iTerm2 theme you are using, I really like it too.

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

    Thank you Sir

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

    can you do a vid about how to consume it from a front-end framework?

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

    Dary is possible use this passport to make a SSO?
    I've multiple app on my server and I want make a page that allow me to login into a single app.
    Is it possible?
    Thanks

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

      Yes, it is possible to use Laravel Passport to implement SSO (Single Sign-On) functionality. Laravel Passport provides a complete OAuth2 server implementation, which can be used to authenticate users across multiple applications

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

      @@codewithdary so I need to install this package into each application?

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

    Great video. Where did you get the wallpaper from? I like it

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

      pixabay! Thank you :)

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

      @@codewithdary Thanks! Tried searching for it but no luck. Maybe some key words to search for?

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

    I have this error and I can not solve it when I enter passport:install command :/
    file_put_contents(Desktop\bookstore\storage\oauth-public.key): failed to open stream: Permission denied
    Could you please help?

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

      This should do the work for you:
      php artisan cache:clear
      chmod -R 777 storage/
      composer dump-autoload

  • @mohamadkanafani5979
    @mohamadkanafani5979 9 месяцев назад

    i am using laravel 9, question why i dont have webpack.mix.js once i create my laravel project ? do i create it manually ?

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

    I am learning thru ur videos, I want to do one task but facing problem, can u guide I am using laravel8;
    I fetching thirdparty api data using:
    Public function show() {
    $alldata = Http::get("api link") ;
    Return view('display', ['alldata'=>json_decode($alldata)]])
    }
    For getting refresh data I need to reload the page and send request again, can u guide me how to send get request to that api link every 5 second without page reload.

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

    Hey Dary, this video is not added to the "Laravel 8 API Course" playlist... BTW thanks for all the material!

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

      Thanks for sharing Julian, added it!

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

    You’re not uploading any video for last three weeks I’m waiting for authentication project

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

      Hi! I had a pretty busy period and then I went straight into moving to a new city. Had no time to record up front! I start uploading from Monday

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

    greeeeeeeate

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

    github

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

    wait what?? wheres the rest of tutorial? you just literating the docs basically

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

      It's a video series. But did you expect a totally different way or installing Laravel passport? Of course I'm making use of the documentation.

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

      The rest of the tutorial can be found on my channel.