Veriqa has described a way to sign in to websites using a QR code, with confirmation on a phone through Google, Apple, or Yandex ID. For users, the practical change is simple: they don’t need to enter their primary account password in the browser on a computer, TV, or kiosk. At the same time, a QR code is not proof of security on its own—it’s important to understand exactly what the user is confirming and where protection ends in this flow.
The mechanism keeps the website on standard OpenID Connect and moves authentication with the external provider to the phone. The computer displays a code, the phone opens the provider’s page, and after choosing an account, the user confirms where the sign-in should take place. So the QR code connects two devices, but doesn’t replace the usual authorization flow. The squares on the screen are just the start of the process, not a replacement for the protocol.
How sign-in works
The user chooses to sign in on the website, and the page displays a QR code. After scanning it with the phone’s camera, the computer reports that the code has been opened and prompts the user to continue on the mobile device. If the website is already open on the phone, there’s nothing to scan: the user goes straight to signing in with the provider.
The link in the code leads to Veriqa, which directs the phone to Google, Apple, Yandex ID, or another configured service. The user chooses an account and returns to a confirmation page. It shows the app, browser, operating system, and time the sign-in began. In the implementation described by the author, approval requires dragging the “Yes” slider all the way to the end; the “No” button lets the user decline.
After confirmation, the computer’s browser receives an authorization code. The website exchanges it for standard OpenID Connect tokens, just as in other OIDC flows. For the user, it’s a few actions without entering a password on the computer; for the system, it’s the full authorization process, with a return and response verification.
What needs to be configured on the website
Veriqa acts as an intermediary OpenID Connect provider between the website and external services. Integration on the website can be configured using a CMS’s standard OIDC plugin or a framework library. The usual client parameters are needed, including the discovery address, client_id, secret, and redirect address. According to the developer’s description, Veriqa handles QR code generation, redirecting to the provider on the phone, and the confirmation page, so there’s no need to build this interface from scratch for every website.
The request begins with a standard /connect/authorize with authorization code and PKCE. After signing in, the website receives an authorization code, followed by OpenID Connect tokens and the user’s identity data. The field sub, in the example given in the article, combines the channel name with the ID at the provider: for example, yandex:1234567890. Claims vary by source: Google may provide a name, email, avatar, and language; Apple provides an identifier and email; Yandex ID provides an identifier, name, and other attributes, including phone number and date of birth when configured for the channel.
The project is built on .NET and OpenIddict. The author says that configuration is available for more than 80 OpenIddict providers, and a single channel can serve websites and apps connected to one Veriqa installation. This means you don’t have to create a separate OAuth client with the provider for every website, though the channel itself still needs to be configured. The example recommends storing the client secret in an environment variable rather than in the appsettings.jsonfile. Veriqa’s core is open source under the MPL-2.0 license, and the server can be self-hosted.
The key boundary for integration is this: Veriqa passes the user’s identity to the website, not Google, Apple, or Yandex tokens; the author also notes that Veriqa doesn’t store those tokens. So the flow works for sign-in, but doesn’t give the app access to the provider’s API. If a service needs, say, Google Calendar, authorization for that access has to be arranged separately.
How this differs from regular sign-in
With the usual “Sign in with Google” button, the computer’s browser opens a Google page. The user may enter their password there, and the browser profile gets a provider session. On a shared or someone else’s device, this creates an additional risk: malware can steal browser data, and an unfinished session may remain accessible to the next person using the computer.
In the QR flow, sign-in to the external account happens on the phone, where the user is usually already authenticated. The computer gets a session for the website itself, not Google or Apple. This limits the consequences of a compromised profile: the potential exposure is access to a specific website, not automatic access to services linked to the external account. But a website session is valuable too and can be stolen—QR sign-in doesn’t make the browser invulnerable.
This approach also differs from using a passkey on another device. That flow may rely on Bluetooth to verify that the phone is near the computer, and requires an existing passkey and compatible hardware. The QR sign-in described here uses the camera and doesn’t require Bluetooth, but it doesn’t verify proximity. For a TV, kiosk, or remote desktop, this removes the radio requirement; at the same time, the absence of that check leaves open the possibility of forwarding the code to someone else.
This isn’t a complete replacement for OAuth Device Flow. In Device Flow, the user usually enters a code on the phone while the device waits for authorization to finish. The author points out that this flow can issue the device provider tokens with API access within the requested permissions. In Veriqa’s flow, the website receives the user’s identity, while the provider’s tokens never reach it. So QR sign-in is more convenient for simple authentication, while Device Flow is still needed when the app really needs a third-party service’s API.
QR phishing remains the main limitation
A QR code by itself gives the phone no way to verify which screen displayed it. An attacker can start a sign-in on their own device, then show the real code on a fake page, in an email, or in a message. If the user scans it and approves the request, the session opens on the attacker’s device. This risk applies to other QR sign-in flows too, not just Veriqa.
The described implementation tries to make tampering more noticeable: the confirmation page shows the app and device details, “No” is selected by default, and approval requires dragging a slider. The code is single-use, and the default response timeout is 300 seconds. If the QR link is reopened in another browser, the sign-in page displays a warning. The IP address, browser, operating system, and device type are recorded as signals for logs and checks, but they are not a separate authentication factor.
These measures don’t remove the need to check the request. If the user approves a sign-in without reading where it started, the protective interface can’t reliably determine whether the code was forwarded. That’s where the promise ends: the password isn’t entered on the second device, and the external provider’s token isn’t passed to the website, but consent to opening a session still depends on the user paying attention.









