JWT Authentication with Login and Registration Views 🚀 Strapi Course #6

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ธ.ค. 2024

ความคิดเห็น • 20

  • @kshitijkumarsaini9501
    @kshitijkumarsaini9501 ปีที่แล้ว +2

    Hi bro, I must say your strapi series is the best I found on the internet. And I can't explain how passionately wait for the videos in the series. I know you might be having side hussle which is why the videos take some time. But I really wanna appreciate the hard work and the content you provide here. You are doing an amazing work
    Keep that up bro!!

    • @nltech1
      @nltech1  ปีที่แล้ว +1

      Thank you! I really appreciate it!

  • @sofiakotova5724
    @sofiakotova5724 หลายเดือนก่อน +1

    Thanks for the video, Very helpful!

    • @nltech1
      @nltech1  หลายเดือนก่อน

      Thank you! Appreciate it!

  • @mdhimuhimu1631
    @mdhimuhimu1631 7 หลายเดือนก่อน

    i love your strapi tutorial

  • @hongkaihuang1503
    @hongkaihuang1503 ปีที่แล้ว +2

    Man, you saved my life...

    • @nltech1
      @nltech1  ปีที่แล้ว +1

      Thank you! I’m glad you found the video helpful!

  • @miroslavmyrha
    @miroslavmyrha 4 หลายเดือนก่อน +2

    This video really helps, thanks :)

    • @nltech1
      @nltech1  4 หลายเดือนก่อน

      Thank you! I'm glad it helped!

  • @caducoder
    @caducoder 9 หลายเดือนก่อน +2

    Nice video! How can I protect some frontend pages based on the user role?

    • @nltech1
      @nltech1  9 หลายเดือนก่อน +1

      It really depends on the front-end application/client you are building. Generally the process is to retrieve the JWT token on login (and save it in session storage/cookies/local storage). You can then validate the JWT token at any time (as the user navigates for example), as you have it on the client. All of these operations will happen with HTTP requests to the Strapi API.

  • @БаястанНурбек-ж6ж
    @БаястанНурбек-ж6ж 4 หลายเดือนก่อน

    and what about refresh token and expire jwt?

  • @anastasiia-cp1hk
    @anastasiia-cp1hk 9 หลายเดือนก่อน

    How make log out there?

  • @openteeshirt
    @openteeshirt ปีที่แล้ว +1

    Please also make a video about strapi login with Google

    • @nltech1
      @nltech1  ปีที่แล้ว

      I might make a video about other auth strategies, but it won’t happen soon. I have prioritised the course content already and a couple of videos are work in progress. You can apply the same information I provided for the email strategy and read a bit more to integrate the Google auth.

    • @openteeshirt
      @openteeshirt ปีที่แล้ว

      @@nltech1 thanks

  • @MykhailoVavrykovych
    @MykhailoVavrykovych ปีที่แล้ว

    is there a way to remove default value such as username from a User model?

    • @kshitijkumarsaini9501
      @kshitijkumarsaini9501 ปีที่แล้ว

      As far as I know it's not possible as the user collection type comes from strapi plugin. So you can't delete the predefined fields.

  • @brijeshshukla5284
    @brijeshshukla5284 8 หลายเดือนก่อน

    Thank u

  • @MahediHSharif
    @MahediHSharif 4 หลายเดือนก่อน +1

    is it mandatory to use username, for create an account, I'm trying to use first name and last name. but it doesn't work. i'm confused can you please clear me i can use my custom form out of the starpi roles, like my form will be first name, last name, email, password etc i don't want to use username.