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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Feather – A Lightweight Auth API

4 点作者 nick-garfield将近 5 年前

1 comment

nick-garfield将近 5 年前
Nick here, one of the developers behind Feather.<p>When we set out to build an auth API, one of the first big challenges was just wrapping our heads around all the various acronyms and protocols. Despite the existence of standards like OAuth, OIDC, JWTs, SAML, etc., authentication is anything but standard. As hobbyist devs, we wanted the interface to be simple. RESTful. Leverage HTTP verbs. We wanted an auth API that we wouldn&#x27;t have to think about and would save us time.<p>After a lot of consideration, we settled on creating an abstraction for &#x2F;credentials. With this, we&#x27;ve been able to abstract away sign-in flows for email+password and passwordless auth. &quot;Just create a credential!&quot; As Josh Bloch once said, “Good names are the API talking back to you”. We&#x27;re super glad with how credentials abstract turned out. In the future, we plan to extend it for supporting protocols like OAuth as well.<p>Feather has saved us a ton of time while building other projects these past couple months, and we&#x27;re happy to share it with everyone today :)
评论 #24283719 未加载