Skip to content

QR Code Mobile Authentication: System and Workflow #86

@reboottime

Description

@reboottime

User and System Flow

User flow

  1. User visits the site, and the site presents user with a QR code (OTP)
  2. User scans the QR code uses the company's mobile app on iPhone
  3. After scanning the QR code successfully, after a while, user is logged in on the website.

System Flow

QR code generation: The website generates a unique QR code that encodes a URL or other information needed for the next steps, such as a unique token or identifier for the user session.

Display QR code: The website displays the generated QR code to the user, prompting them to scan it with their phone.

User scans QR code: The user scans the QR code with their smartphone's camera using a QR code scanning app.

Decode QR code: The QR code scanning app decodes the QR code and extracts the encoded URL or information.

Send user session information: The app sends a request to the server using the extracted URL or information. This request includes the unique token or identifier and any necessary authentication information, which is used to identify the user session on the website.

Server processes request: The server processes the request, verifies the user session, and updates the session status as authenticated.

Server signals website: The server sends a signal to the website (e.g., through websockets or long polling) to inform it that the user session has been authenticated.

Website updates: Upon receiving the signal from the server, the website updates the user's session as authenticated and redirects the user to the dashboard.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions