<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Veriqa</title>
    <description>The latest articles on DEV Community by Veriqa (@veriqa).</description>
    <link>https://dev.to/veriqa</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4252160%2F393eb9f6-484a-43c1-b5d5-0ecccf0925fe.png</url>
      <title>DEV Community: Veriqa</title>
      <link>https://dev.to/veriqa</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/veriqa"/>
    <language>en</language>
    <item>
      <title>How to make "Sign in with Google, Apple or Facebook" even safer</title>
      <dc:creator>Veriqa</dc:creator>
      <pubDate>Thu, 19 Nov 2026 15:06:00 +0000</pubDate>
      <link>https://dev.to/veriqa/how-to-make-sign-in-with-google-apple-or-facebook-even-safer-3nlj</link>
      <guid>https://dev.to/veriqa/how-to-make-sign-in-with-google-apple-or-facebook-even-safer-3nlj</guid>
      <description>&lt;p&gt;If your site has social login buttons — or you're about to add them — this article is for you. I'll show how to let your users sign in by scanning a QR code with their phone, the way they already sign in to WhatsApp Web or Discord. Their Google, Apple or Facebook password and session stay on the phone. Nothing lands in the browser of the computer they sign in on: a shared office PC, a client's laptop, a TV.&lt;/p&gt;

&lt;p&gt;We usually rank sign-in security by the strength of the factor: a password, then 2FA, then passkeys. There's a second axis that gets far less attention: which device ends up holding the provider session. Attackers pay attention to it: SpyCloud's &lt;a href="https://spycloud.com/newsroom/annual-identity-exposure-report-2026/" rel="noopener noreferrer"&gt;2026 Identity Exposure Report&lt;/a&gt; counts &lt;strong&gt;8.6 billion&lt;/strong&gt; stolen cookies and session artifacts recaptured from malware infections. A 2FA-backed Google session in the browser of a shared or infected computer is worth more to an attacker than the password itself: it has already passed MFA. This article is about keeping that session on the device the user actually owns.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fc6x8lpers0qviscgd77i.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fc6x8lpers0qviscgd77i.webp" alt="Signing in on a computer with Google: the phone camera scans the QR code, the user picks a Google account and slides to confirm" width="800" height="325"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Signing in with Google by QR code: scan, pick an account, slide to confirm.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Want to try it before reading on? &lt;a href="https://nova.veriqa.app/?lang=en&amp;amp;utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=qr-provider-sign-in&amp;amp;utm_content=top" rel="noopener noreferrer"&gt;Nova Stream&lt;/a&gt; is a made-up streaming service where you can sign in to a "TV" with your phone, right in your browser. The demo creates no account: what your Google account sends is kept only in the server's memory, just for the demo (&lt;a href="https://veriqa.app/privacy" rel="noopener noreferrer"&gt;privacy policy&lt;/a&gt;). Veriqa is open source, so if something feels off or confusing, tell me in the comments. That feedback decides what I work on next.&lt;/p&gt;
&lt;h2&gt;
  
  
  What a "Sign in with Google" button leaves behind
&lt;/h2&gt;

&lt;p&gt;Your user clicks "Sign in with Google" on your site. The button opens Google's sign-in page in the browser of their computer, and the user:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Types their email address.&lt;/li&gt;
&lt;li&gt;Types their Google password, and the browser offers to save it.&lt;/li&gt;
&lt;li&gt;Confirms on their phone or types a 2FA code.&lt;/li&gt;
&lt;li&gt;Returns to your site.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;OAuth and OpenID Connect work exactly as designed here. But after sign-in, the browser profile holds a Google session cookie and often a saved password. The session has already passed 2FA, so whoever holds it needs neither the password nor the phone. Mail, Drive and every site the user signs in to with Google are open.&lt;/p&gt;

&lt;p&gt;Browser profiles are exactly what infostealers collect, and a stolen session lets the attacker skip MFA. That's how the 2025 Bybit heist began: malware on a Safe{Wallet} developer's laptop, and AWS session tokens taken from it to get past MFA (&lt;a href="https://thehackernews.com/2025/03/safewallet-confirms-north-korean.html" rel="noopener noreferrer"&gt;The Hacker News&lt;/a&gt;). Binance's $6.3 billion loss last month also &lt;a href="https://www.cnbc.com/2026/11/03/binance-co-ceo-teng-says-hackers-used-fake-job-interviews-to-steal-6point3-billion-in-crypto.html" rel="noopener noreferrer"&gt;started on engineers' laptops&lt;/a&gt;, infected through a fake developer tool and a coding exercise from fake recruiters. When an attacker owns the computer, every session signed in on it is theirs.&lt;/p&gt;

&lt;p&gt;Browsers are fighting back. Since May 2026, Chrome on Windows binds Google sessions to the device with &lt;a href="https://workspaceupdates.googleblog.com/2026/05/prevent-account-takeovers-with-DBSC-now-generally-available-in-the-Chrome-browser-for-Windows.html" rel="noopener noreferrer"&gt;Device Bound Session Credentials&lt;/a&gt; (DBSC): the key is hardware-backed, so a stolen cookie doesn't work on another machine. It's a strong defense, but a narrow one. It doesn't protect a password the user typed and saved, other browsers don't have it yet, and it covers the Google session, not Apple or Facebook.&lt;/p&gt;

&lt;p&gt;Your site didn't cause any of this. But a "Sign in with Google" button teaches your users to type their main password on any computer where your site is open. The worst case is a computer that isn't theirs: in a coworking space, at a client's office, in a classroom, a work PC managed by someone else. If the user forgets to sign out of Google there, the next person at that computer gets their session without any malware.&lt;/p&gt;

&lt;p&gt;Some screens are simply bad for passwords: a TV or a set-top box, a kiosk, a meeting room display. Typing a Google password there means a remote control or an on-screen keyboard, in plain view of everyone around.&lt;/p&gt;
&lt;h2&gt;
  
  
  How it looks for your users
&lt;/h2&gt;

&lt;p&gt;Messaging apps solved this years ago. WhatsApp Web, Telegram Web and Discord show a QR code, you scan it with your phone, and the computer is signed in. Google and Apple have a built-in relative: signing in with a passkey from your phone. But it needs Bluetooth on both devices and a passkey created in advance, and the provider session still ends up in the computer's browser.&lt;/p&gt;

&lt;p&gt;The approach in this article is a QR sign-in like a messaging app's, but through the user's Google, Apple or Facebook account, built on standard OpenID Connect:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Your user clicks "Sign in" on your site, and the sign-in page shows a QR code.&lt;/li&gt;
&lt;li&gt;They scan it with the phone camera. The page on the computer immediately says the code was scanned and asks them to continue on the phone.&lt;/li&gt;
&lt;li&gt;The phone opens the provider's sign-in. Most users are already signed in to Google or Apple on their phone, so they only pick an account. On an iPhone, Sign in with Apple also asks for Face ID or the passcode.&lt;/li&gt;
&lt;li&gt;The phone shows a confirmation page: which app they're signing in to, which browser and OS started the sign-in, and when. To confirm, they drag the &lt;strong&gt;Slide to answer Yes&lt;/strong&gt; slider all the way. To decline, they tap &lt;strong&gt;No&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;The computer, TV or kiosk is signed in to your site.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If the user opened your site on the phone itself, there's nothing to scan. They tap a button on the sign-in page, and steps 3–5 stay the same.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fd1gkp2dbfbap5o14x69j.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fd1gkp2dbfbap5o14x69j.webp" alt="The confirmation page on the phone: the app being signed in to, the browser and OS that started the sign-in, the Slide to answer Yes slider and the No button" width="799" height="352"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;The confirmation page on the phone.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Nothing is typed on the computer. No Bluetooth is needed, only the phone camera. There's no Google session on the computer to sign out of, because the user never signed in to Google there. On the phone, it takes three actions and no typing: scan, pick an account, slide.&lt;/p&gt;

&lt;p&gt;There's a less obvious benefit too. When signing in again takes a few seconds, your site doesn't need long sessions, and shorter sessions improve security on their own.&lt;/p&gt;
&lt;h3&gt;
  
  
  How it compares
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;"Sign in with Google" button&lt;/th&gt;
&lt;th&gt;Google passkey from the phone&lt;/th&gt;
&lt;th&gt;Device Flow (RFC 8628)&lt;/th&gt;
&lt;th&gt;QR sign-in through your OIDC provider&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Typed on the computer&lt;/td&gt;
&lt;td&gt;email, password, 2FA code&lt;/td&gt;
&lt;td&gt;nothing&lt;/td&gt;
&lt;td&gt;nothing; a code is typed on the phone&lt;/td&gt;
&lt;td&gt;nothing&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Needs Bluetooth&lt;/td&gt;
&lt;td&gt;no&lt;/td&gt;
&lt;td&gt;yes, on both devices&lt;/td&gt;
&lt;td&gt;no&lt;/td&gt;
&lt;td&gt;no&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Provider session ends up&lt;/td&gt;
&lt;td&gt;in the computer's browser&lt;/td&gt;
&lt;td&gt;in the computer's browser&lt;/td&gt;
&lt;td&gt;on the phone&lt;/td&gt;
&lt;td&gt;on the phone&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;The signing-in device gets&lt;/td&gt;
&lt;td&gt;your site's session&lt;/td&gt;
&lt;td&gt;your site's session&lt;/td&gt;
&lt;td&gt;provider tokens with API access&lt;/td&gt;
&lt;td&gt;your site's session only&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Phishing-resistant&lt;/td&gt;
&lt;td&gt;no&lt;/td&gt;
&lt;td&gt;yes, against fake sites&lt;/td&gt;
&lt;td&gt;no&lt;/td&gt;
&lt;td&gt;no&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;h3&gt;
  
  
  Another alternative to the Facebook button: Messenger
&lt;/h3&gt;

&lt;p&gt;A phone can confirm a sign-in with more than a provider account. If your users spend their time in Messenger rather than on Facebook itself, the same QR sign-in can end in a chat. The user scans the code and taps &lt;strong&gt;Confirm&lt;/strong&gt; in a conversation with your Facebook Page. Again, no Facebook password is typed on the computer. Telegram and WhatsApp work the same way.&lt;/p&gt;

&lt;p&gt;One caveat: until Meta approves your app in &lt;a href="https://developers.facebook.com/docs/messenger-platform/overview" rel="noopener noreferrer"&gt;App Review&lt;/a&gt;, it can only message people who have a role on the app or your Page. So for users outside your own team, plan for the review.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frm0vq7eirpe7b2w86yg8.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frm0vq7eirpe7b2w86yg8.webp" alt="Signing in on a computer through Messenger: the phone scans the QR code, the user taps Confirm in the Messenger chat, and the bot replies that the sign-in is confirmed" width="800" height="393"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;The same sign-in, confirmed in Messenger.&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;p&gt;Your own OpenID Connect provider sits between your site and Google, Apple or Facebook. In my case, it's Veriqa: an OIDC provider with an open-source core, built on .NET and &lt;a href="https://github.com/openiddict/openiddict-core" rel="noopener noreferrer"&gt;OpenIddict&lt;/a&gt;. To your site, Veriqa is an ordinary OIDC provider with a discovery URL, a client ID, a secret and a redirect URI. You connect it with your CMS's standard OIDC plugin or your framework's OIDC library, without custom code. Veriqa shows the QR code, runs the provider sign-in on the phone and shows the confirmation page.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F930euuj9yllv3mdv2dzx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F930euuj9yllv3mdv2dzx.png" alt="Sequence diagram: the computer's browser, your site, Veriqa, the phone and the provider. Provider tokens stay in Veriqa and never reach your site" width="800" height="739"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The computer's browser starts an ordinary OpenID Connect sign-in: &lt;code&gt;/connect/authorize&lt;/code&gt;, authorization code with PKCE. Veriqa shows the sign-in page with a QR code.&lt;/li&gt;
&lt;li&gt;The phone opens the link from the QR code, and the page on the computer shows that the code was scanned.&lt;/li&gt;
&lt;li&gt;Veriqa sends the phone to Google, Apple or Facebook with the authorization code flow. The user picks an account.&lt;/li&gt;
&lt;li&gt;The provider redirects the phone back to Veriqa. Veriqa exchanges the code, checks the response and shows the confirmation page.&lt;/li&gt;
&lt;li&gt;The user slides to answer "Yes", and Veriqa redirects the computer's browser to your site with an authorization code.&lt;/li&gt;
&lt;li&gt;Your site exchanges the code for tokens at &lt;code&gt;/connect/token&lt;/code&gt;, as with any other sign-in.&lt;/li&gt;
&lt;li&gt;Your site gets an ID token with &lt;code&gt;sub&lt;/code&gt; and claims.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;These are the same standard OpenID Connect tokens as from any other Veriqa sign-in method. The &lt;code&gt;sub&lt;/code&gt; looks like &lt;code&gt;{channel}:{provider ID}&lt;/code&gt;, for example &lt;code&gt;google:1234567890&lt;/code&gt;, and the provider's claims come with it. For Google, that's the name, email, picture, locale and a few more. Provider tokens never reach your site, and Veriqa doesn't keep them.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsfy7ktxyk2mbgqtvngq5.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsfy7ktxyk2mbgqtvngq5.webp" alt="Claims an app receives after signing in with Google: sub, amr, channel_type, channel_user_id, name, email, email_verified, given_name, family_name, locale, picture" width="799" height="284"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;What your site receives after a Google sign-in. The values are test data.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Because Veriqa is built on OpenIddict, you can connect any of its &lt;a href="https://documentation.openiddict.com/integrations/web-providers" rel="noopener noreferrer"&gt;80+ web providers&lt;/a&gt; with configuration alone. One OAuth client registered with a provider is one channel, and that channel serves every site and app connected to your Veriqa instance. You don't register a new Google client for each site. Here's a Google channel:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"Veriqa"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"Channels"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"google"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nl"&gt;"Enabled"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="nl"&gt;"InboundVerification"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"outbound_fetch"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="nl"&gt;"WebProvider"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
          &lt;span class="nl"&gt;"Provider"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Google"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="nl"&gt;"ClientId"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"1234567890-abc.apps.googleusercontent.com"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="nl"&gt;"Scopes"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt; &lt;span class="s2"&gt;"email"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"profile"&lt;/span&gt; &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="nl"&gt;"Settings"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"Prompt"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"select_account"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="nl"&gt;"PublicBaseUrl"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://id.example.com"&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
      &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The client ID is made up. Keep the client secret in the &lt;code&gt;Veriqa__Channels__google__WebProvider__ClientSecret&lt;/code&gt; environment variable, not in &lt;code&gt;appsettings.json&lt;/code&gt;. Every key is described in the docs: &lt;a href="https://veriqa.app/docs/guides/channels?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=qr-provider-sign-in#sign-in-with-a-provider-account" rel="noopener noreferrer"&gt;Sign-in with a provider account&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where it stops
&lt;/h2&gt;

&lt;p&gt;QR sign-in has one weak spot, and WhatsApp Web shares it: the user can't tell whose QR code they're scanning. An attacker can start a sign-in on your site and slip their own QR code to the user: on a fake page, in an email, in a "scan to get a discount" message. If the user confirms, the attacker gets the session. &lt;a href="https://www.rfc-editor.org/rfc/rfc10027" rel="noopener noreferrer"&gt;RFC 10027&lt;/a&gt; (BCP 247) calls this Cross-Device Consent Phishing.&lt;/p&gt;

&lt;p&gt;In that case, the attacker gets a session on your site, not the user's Google account: provider tokens never reach your site. The confirmation page shows where the sign-in started, &lt;strong&gt;No&lt;/strong&gt; is the default answer, a sign-in waits 300 seconds by default, and a second scan of the same code shows a warning on the computer. Still, if the user confirms without reading, nothing will stop them. This sign-in, like QR sign-in in messaging apps, is not phishing-resistant.&lt;/p&gt;

&lt;p&gt;So it isn't the right tool for every case:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Your app needs the provider's API&lt;/strong&gt;, such as Google Calendar or YouTube. Then the app needs provider tokens, and Device Flow or a regular provider sign-in is the right choice.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You need phishing resistance.&lt;/strong&gt; Use passkeys. QR sign-in works well for the first sign-in and account recovery, with a passkey added on top.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/veriqa/veriqa" rel="noopener noreferrer"&gt;Veriqa&lt;/a&gt; is open source under MPL-2.0, and you can run it yourself from the &lt;code&gt;veriqa/veriqa&lt;/code&gt; image on Docker Hub (&lt;a href="https://veriqa.app/docs/quickstart/self-hosted?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=qr-provider-sign-in&amp;amp;utm_content=bottom" rel="noopener noreferrer"&gt;self-hosted quickstart&lt;/a&gt;). I made it open because I rely on open-source libraries every day at work and wanted to give something back.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://nova.veriqa.app/?lang=en&amp;amp;utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=qr-provider-sign-in&amp;amp;utm_content=bottom" rel="noopener noreferrer"&gt;&lt;strong&gt;Nova Stream&lt;/strong&gt;&lt;/a&gt;, a made-up streaming service: see how QR sign-in looks on a TV, right in your browser.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://helio.veriqa.app/?lang=en&amp;amp;utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=qr-provider-sign-in&amp;amp;utm_content=bottom" rel="noopener noreferrer"&gt;&lt;strong&gt;Helio&lt;/strong&gt;&lt;/a&gt;, a made-up company's support site: QR sign-in on a regular website.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://veriqa.app/demo?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=qr-provider-sign-in&amp;amp;utm_content=bottom" rel="noopener noreferrer"&gt;&lt;strong&gt;The demo page&lt;/strong&gt;&lt;/a&gt;: try different settings in the online builder.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Do you let your users sign in with Google on shared computers, and how do you handle it? I'd like to hear about it in the comments.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Coming next.&lt;/strong&gt; In part 2, I'll take apart the security side: how Device Flow phishing works (this is how Storm-2372 got into Microsoft 365 accounts), what RFC 10027 says about cross-device phishing, what a passkey from another device actually protects against, and where that protection ends. Follow me so you don't miss it.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I wrote the original version of this article in Russian. The English version was translated with AI assistance, then checked and edited by me.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>programming</category>
      <category>opensource</category>
      <category>showdev</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
