<p></p>
<p dir="auto">I have no idea whether the following blog post is of any use. It talks about TOTP in the context of Devise: <a href="https://reinteractive.com/articles/implementing-2FA-with-authenticator-apps-(totp)-in-rails" rel="nofollow">https://reinteractive.com/articles/implementing-2FA-with-authenticator-apps-(totp)-in-rails</a></p>
<p dir="auto">Some of the gems mentioned there appear to be still maintained: <a href="https://github.com/tinfoil/devise-two-factor">devise_two_factor</a>, <a href="https://github.com/mdp/rotp">rotp</a> and <a href="https://github.com/whomwah/rqrcode">rqrcode</a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/3476#issuecomment-2209511157">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLK2XDXFPC4HSFX62TTZKWSQPAVCNFSM6AAAAABKMBT226VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBZGUYTCMJVG4">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLI4P7E6HFIET6KHL6LZKWSQPA5CNFSM6AAAAABKMBT226WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUDWJ3PK.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/issues/3476/2209511157</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/3476#issuecomment-2209511157",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/3476#issuecomment-2209511157",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>