QR Code login using Laravel and qrcode.js

Published: 05 October 2020
on channel: WebDevWithArtisan
26,576
240

Hi All,
This video is about login using QR code and Laravel Web App.

I am using QR code JS library by David https://davidshimjs.github.io/qrcodejs/

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 & registration App using...  


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


Watch video QR Code login using Laravel and qrcode.js online without registration, duration hours minute second in high quality. This video was added by user WebDevWithArtisan 05 October 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 26,576 once and liked it 240 people.