05 - Token-based Authentication

Поделиться
HTML-код
  • Опубликовано: 25 авг 2021
  • Token based #authentication in #laravel
  • НаукаНаука

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

  • @AbdulazizAlzaabi
    @AbdulazizAlzaabi 2 года назад +6

    Well done explained .. I wish it is documented this way in Laravel official docs because it is really confusing when u read sanctum docs ..

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

    Great content, very useful thank you Mohamed بارك الله فيك

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

    This is great. Am looking forward to more videos on api auth like, email verification, forgot password

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

    MashaAllah nice t-shirt

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

    This is really awesome and great start up for me to get started working with Laravel as just an API.

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

      Glad you find it useful :)

  • @mohamedmaazaz9667
    @mohamedmaazaz9667 2 месяца назад

    Thunk you Mohamed, you are the best

  • @spacelord.5
    @spacelord.5 2 года назад

    Mohamed, you rock!

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

    Great video Mohammed, keep the good work

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

      Glad you like it :)

  • @adil.bashir
    @adil.bashir 2 года назад +2

    Great video, thank you so much.

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

      You're welcome :)

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

    Very Well Explained👌

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

    Thank you! I would like to use this sanctum token in one of my projects, but this project has its own CAS login system, I am wondering where would be the better place to store the token in text?

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

    Thanks great video

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

    Can you make a video on Sanctum and connect it with a SPA ?

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

    Respect from Pakistan

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

    Please add some testing using api. That's will be grt.

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

    Great video Mohamed. Please how did you open the httpclient interface ?

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

    Awesome explanation tnx

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

    👍

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

    perfect

  • @etelbanner
    @etelbanner 4 месяца назад

    Good example, but how you handle wrong credentials in this?

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

    Thank You. It was interesting. May I have a question? If I want to use Vue with API. Is secure enough to store the received token in the localstorage? Thx.

  • @hassanjan5369
    @hassanjan5369 10 месяцев назад

    i have used __invoke method (function) but insomnia shows me function does not exist so I removed the __invoke and rename it to proper name like dash() {} the it worked.
    What was the reason it does not worked with __invoke??

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

    Awesome video Said. Could you please let me know if the sanctum SPA authentication is the same as the default session auth in laravel? If then, can I use the db driver while using a vue frontend in the same domain to store user sessions to be able to give the user the ability to logout of all devices?

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

      Yes you can use the database session driver with Sanctum

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

      @@themsaid I tried and got an error 'Session Store Not Set On Request'. How do I resolve this?

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

    A single user can generate many tokens, which I don't want. How do you cover this problem?

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

    Please teach me about Laravel password. I really need it. Emouses that become outdated because the Laravel document has changed

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

    please make videos about the role,permission using the default auth system. Thanks for your videos.

    • @themsaid
      @themsaid 2 года назад +6

      That's planned for sure :)

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

      @@themsaid Thnaks a lot.

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

      @@themsaid please make role and permission video using sanctum. thanks

  • @Ar-ir5xu
    @Ar-ir5xu 2 года назад +1

    "son of a beach"

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

    Thanks for the video! it took me a while to land here, this 10 minutes was exactly what I needed to realises how remember_me_token works! 🙏