# Account Login using Public Key

**URL:** <https://meta.discourse.org/t/account-login-using-public-key/345316>\
**Category:** Feature\
**Created:** [January 2, 2025, 9:07pm UTC](https://meta.discourse.org/t/account-login-using-public-key/345316 "2025-01-02T21:07:55Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![disciplinary](https://avatars.discourse-cdn.com/v4/letter/d/e274bd/32.png) [@disciplinary](https://meta.discourse.org/u/disciplinary)\
**Post date:** [January 2, 2025, 9:07pm UTC](https://meta.discourse.org/t/account-login-using-public-key/345316/1 "2025-01-02T21:07:55Z")

</div>

Discourse Login No username, no email, no password.  
Public keys do not require a password.  
Since 2FA must be maintained on both the app and the website, it can prevent bot registration and avoid forgetting the public key.

Sign Up —\> Generate Public key —\> Bind 2FA TOTP

2FA is your password, 2FA as the first factor.

Login using public key+2FA.

Generate Public key  
k41d9dfe789b8881c165e50f035aad1f286f88f2b33d97d10c198a4df37ae16f756f8a6b3520f2899eb19c321ef357e3fccaf6af627527c10b7cce9af7be4dc9

## What do I need

I have registered more than 10 Discourse forums on Win10 browser and Android, such as F-droid, etc.

But I have forgotten my username and password, and my mail has been banned by the mail provider.

---

_[View the full topic](https://meta.discourse.org/t/account-login-using-public-key/345316)._
