Ask HN: What type of Auth are you using on your side projects?
21–30 of 72 posts
Re: Ask HN: What type of Auth are you using on your side projects?
#22Re: Ask HN: What type of Auth are you using on your side projects?
#23Re: Ask HN: What type of Auth are you using on your side projects?
#24This is the absolutely simplest of authentication (not authorization) schemes I've used that is both easy for people to use and prevents the simplest of spam/robots: - Be able to store two types of tokens, one that is temporary, and one that is "permanent" - Users can use their email address to get sent a temporary token (which expires if unused after X minutes) - Users can click that link to change the temporary tok…
Re: Ask HN: What type of Auth are you using on your side projects?
#25Re: Ask HN: What type of Auth are you using on your side projects?
#26Re: Ask HN: What type of Auth are you using on your side projects?
#27Re: Ask HN: What type of Auth are you using on your side projects?
#28This is the absolutely simplest of authentication (not authorization) schemes I've used that is both easy for people to use and prevents the simplest of spam/robots: - Be able to store two types of tokens, one that is temporary, and one that is "permanent" - Users can use their email address to get sent a temporary token (which expires if unused after X minutes) - Users can click that link to change the temporary tok…
If you have an issue with bots on your platform you're going to always have bot problems. It's trivial to abuse your auth to derank your standing too. I can force your app to send out bounced emails to hundreds and thousands of bad emails. Costing you $$ or rep in the email exchange. The second affects your ability to authenticate legitimate users too.
Wish magic links would just go away and be acknowledged as an anti-pattern.
Re: Ask HN: What type of Auth are you using on your side projects?
#29Auth.js! Supported providers: https://authjs.dev/getting-started/providers/github It's been really great so far and I can recommend it if you have a JS/TS codebase. ---------------------------- You can test Auth.js (v5 beta.22) in my Next.js 15 boilerplate: https://achromatic.dev • Credentials auth • Google and Microsoft login • Connected accounts • Multi-factor authentication (via authenticator app) • Session manage…