TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Go Auth Lib

100 点作者 debdut超过 2 年前

8 条评论

klabb3超过 2 年前
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 未加载
7speter超过 2 年前
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 未加载
kyrra超过 2 年前
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 未加载
chrsig超过 2 年前
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 未加载
valyagolev超过 2 年前
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 未加载
dolmen超过 2 年前
I stopped reading when I saw &quot;JWT&quot;.
hardwaresofton超过 2 年前
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>
ralusek超过 2 年前
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 未加载