<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="https://sandfox.me/assets/xml/atom.xsl" type="text/xsl media="all"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom">
  <title>Sand Fox (Posts about otp)</title>
  <id>https://sandfox.me/tags/otp.xml</id>
  <updated>2026-09-02T00:44:42Z</updated>
  <author>
    <name>Anton Smirnov</name>
  </author>
  <link rel="self" type="application/atom+xml" href="https://sandfox.me/tags/otp.xml"/>
  <link rel="alternate" type="text/html" href="https://sandfox.me/tags/otp.html"/>
  <generator uri="https://getnikola.com/">Nikola</generator>
  <entry>
    <title>OTP Links</title>
    <id>https://sandfox.me/misc/otp-links.html</id>
    <updated>2020-08-26T16:43:00+03:00</updated>
    <published>2020-08-26T16:43:00+03:00</published>
    <author>
      <name>Anton Smirnov</name>
    </author>
    <link rel="alternate" type="text/html" href="https://sandfox.me/misc/otp-links.html"/>
    <summary type="html">&lt;p&gt;Have you ever seen an one time password link in a regular &lt;code class="docutils literal"&gt;&amp;lt;a&amp;gt;&lt;/code&gt; tag?&lt;/p&gt;
&lt;p&gt;Here is an example TOTP link from Google Authenticator repo:&lt;/p&gt;
&lt;pre class="literal-block"&gt;otpauth://totp/Example:alice@google.com?secret=JBSWY3DPEHPK3PXP&amp;amp;issuer=Example&lt;/pre&gt;
&lt;p&gt;The most familiar form for them is QR codes:&lt;/p&gt;
&lt;img alt="QR code for the link above" src="https://sandfox.me/images/misc/otp-links/qr.png"&gt;
&lt;p&gt;Which is a problem if you're alterady on your mobile device and you can't scan it.
For this case there is usually a text like "Please manually add the key &lt;code class="docutils literal"&gt;JBSW Y3DP EHPK 3PXP&lt;/code&gt; to your Authenticator app".
But what about the link itself?
Well, just try it on your phone: &lt;a class="reference external" href="otpauth://totp/Example:alice@google.com?secret=JBSWY3DPEHPK3PXP&amp;amp;issuer=Example"&gt;click me&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I'm really shocked that it works perfectly and that I have never seen this simple and very web style solution in action.&lt;/p&gt;</summary>
    <category term="2factor" label="2factor"/>
    <category term="otp" label="otp"/>
  </entry>
</feed>
