QR Code login using Laravel and qrcode.js

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ย. 2024
  • Hi All,
    This video is about login using QR code and Laravel Web App.
    I am using QR code JS library by David davidshimjs.gi...
    You can use any library of your preference. In any case, the logic remains the same.
    Here is a step by step demonstration of how it works:
    1. User needs to login using a laptop or PC.
    2. Once logged in successfully, we pass the user id and mobile token (UUID using Laravel String Helper Class) to the front-end and store it in the cookie.
    3. When the user scans the QR code using their mobile, they are redirected to our login (different than web login) URL with query parameters.
    4. After successful validation and authentication (checking the mobile token stored in DB in step 2.), the system successfully login the user on their mobile device.
    Pretty straightforward and simple, isn't it.
    As I mentioned, this video is an extension of my previous video series. You can find it over here
    • Custom login & registr...
    Please do not forget to subscribe to my channel and feel free to provide your opinion in the comment section of how you could have done this differently.
    #webapplicationdevelopment #loginusingqrcode

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

  • @defensenerds
    @defensenerds 3 ปีที่แล้ว +4

    I watched all your videos ...Can you share the code please.. that would be helpful to me

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

    thanks bro, u save my time.

  • @OussamaJbeli
    @OussamaJbeli 2 ปีที่แล้ว

    perfect .

  • @sundarayerrapragada
    @sundarayerrapragada 3 ปีที่แล้ว +5

    Please have enough food before recording videos. Else keep a PDF of the Transcript for download for easy reading.

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

      I understand. It is tough to hear. Thanks for the comment. Will try to improve in next videos :)

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

    plz same to same django me plzz

  • @metehanuzun3249
    @metehanuzun3249 2 ปีที่แล้ว

    can you pass the code please