QR Code login using Laravel and qrcode.js

Опубликовано: 05 Октябрь 2020
на канале: 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


Смотрите видео QR Code login using Laravel and qrcode.js онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь WebDevWithArtisan 05 Октябрь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 26,576 раз и оно понравилось 240 людям.