Description
LoginWithHN is an unofficial OpenID Connect provider that lets people sign in to your app with their Hacker News account. It is not affiliated with Hacker News or Y Combinator. When a user clicks Login with HN, they enter their Hacker News username, and the service generates a one-time code that they must put into their Hacker News profile within five minutes. LoginWithHN then checks the profile until the code appears, which proves the user controls the account. The consent screen only asks for the username as a claim. You still handle sessions and account management in your own app. After the first login, users can add a time-based one-time password or an email address for faster future sign-in, and the service chooses the least intrusive method when they return. You register an OAuth2 application to get credentials. The site explains the flow in its FAQ, and the author is credited on the page.…
Highlights
- Sign in with a Hacker News account
- OpenID Connect and OAuth2 provider
- One-time code in the user's profile
- Faster sign-in with TOTP or email
- Register your own OAuth2 app
Ratings & Reviews
No ratings yet
Be the first to rate LoginWithHN.
People also visit
LoginWithHN FAQ
What is LoginWithHN?
It is an unofficial OpenID Connect provider that lets people log in to your app with their Hacker News username.
How does a user prove who they are?
The service gives the user a one-time code, which they add to their Hacker News profile within five minutes. Once the code is seen on the profile, the user counts as authenticated.
What information does my app get?
According to the consent screen, the only claim available is the username. Your app still handles sessions after the login.
Is it official?
No. The site says it is not affiliated with Hacker News or Y Combinator.
What are the best LoginWithHN alternatives?
Popular alternatives to LoginWithHN include Easy Auth, Hanko and Melody Auth. See all LoginWithHN alternatives








