TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Go Auth Lib

100 pointsby debdutover 2 years ago

8 comments

klabb3over 2 years ago
I would like a magic link to email + long time bearer cookie. Extremely simple. Email is used for recovery anyway. Is there any deal-breaking downside to that? Is it worth using eg Google to prevent abuse of e.g. excessive free tier account creation or spammers?<p>Use case: SaaS for non-techies on desktop, international audience with payments for premium service.
评论 #33064759 未加载
7speterover 2 years ago
My biggest struggle with projects right now is how to handle auth. Sure hashing a password and pairing it with a n email is easy in theory, but there are bad actors with zero days for any db&#x2F;backend I’d want to use and they can practice all they want on my app as it sits on a server exposed to the world 24&#x2F;7.<p>I’m going with trying out firebase auth for the express apps I’m building now, but this makes me even more inclined to check out go when I’m finished with this latest project.
评论 #33063048 未加载
评论 #33062430 未加载
评论 #33062129 未加载
评论 #33061816 未加载
评论 #33064777 未加载
评论 #33063097 未加载
评论 #33061641 未加载
kyrraover 2 years ago
It looks like this uses JWT, which was disgust here a few days ago: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33019960" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33019960</a>
评论 #33061901 未加载
chrsigover 2 years ago
It looks fairly well thought out. I can imagine myself adopting it for internal sites (e.g., auth against corp okta)<p>Does anyone have any experience with it? It&#x27;s been a while since I&#x27;ve really dove into authentication best practices, so I don&#x27;t want to comment on implementation quality. The interface looks nice enough to use.
评论 #33062863 未加载
评论 #33061480 未加载
valyagolevover 2 years ago
Apart from this and <a href="https:&#x2F;&#x2F;github.com&#x2F;python-social-auth" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;python-social-auth</a> , which languages have such meta-libraries providing uniform interface to authentication through a lot of social platforms?
评论 #33062243 未加载
评论 #33063113 未加载
评论 #33067468 未加载
评论 #33065396 未加载
dolmenover 2 years ago
I stopped reading when I saw &quot;JWT&quot;.
hardwaresoftonover 2 years ago
Shameless plug, but I built a thing[0] that lets you set up auth in 2(!) steps after you&#x27;ve signed up.<p>It&#x27;s not free, but it&#x27;s VERY easy to use&#x2F;complete setup, supports regular auth (username&#x2F;pw, email), and has support for a <i>lot</i> of providers (especially twitter with it&#x27;s dreaded OAuth 1.0 setup), and it&#x27;s probably the easiest to get started with.<p>Try it out for free, send me an email (see profile) and I&#x27;ll get you set up or discounted.<p>[0]: <a href="https:&#x2F;&#x2F;waaard.com&#x2F;for&#x2F;login" rel="nofollow">https:&#x2F;&#x2F;waaard.com&#x2F;for&#x2F;login</a>
ralusekover 2 years ago
This title is interesting, because &quot;Auth&quot; (Authoritarian) and &quot;Lib&quot; (Liberal&#x2F;Libertarian) are both used to denote opposite ends of the vertical axis of the &quot;political compass.&quot;
评论 #33061856 未加载
评论 #33061774 未加载
评论 #33062135 未加载