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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Supabase introduces MFA support

80 点作者 samuba超过 2 年前

6 条评论

kiwicopple超过 2 年前
hey HN, supabase ceo here<p>In case it&#x27;s not clear - MFA is Multi Factor Authentication, and this one is for you, the developer, to use within your own apps<p>The neat thing about this one is that it flows all the way through to the JWT so that you can use it in a Postgres Row Level Security Policy:<p><pre><code> create policy &quot;Enforce MFA for all end users.&quot; on table_name as restrictive to authenticated using ( auth.jwt()-&gt;&gt;&#x27;aal&#x27; = &#x27;aal2&#x27; ); </code></pre> You can see the `aal`, which is &quot;Authenticator Assurance Level&quot;. This is aal1 for &quot;no MFA&quot;, aal2 is 2 factor auth, etc...<p>A few of the team will be here to answer questions
评论 #33986249 未加载
评论 #33986972 未加载
评论 #33990326 未加载
评论 #33985564 未加载
评论 #33985509 未加载
atopia超过 2 年前
Gotta love supa, always killing it
rrgok超过 2 年前
I&#x27;ve created also an issue on github[0] but didn&#x27;t get any reply yet. So, I&#x27;ll try here.<p>How to do Custom Authentication? For example, LDAP Auth is not possible in the current version. And I still don&#x27;t quite understand the API to implement it myself. Can you kindly provide me some pointers on how to do that? I don&#x27;t need LDAP specifically, but just a dummy custom authentication code?<p>0. <a href="https:&#x2F;&#x2F;github.com&#x2F;supabase&#x2F;supabase&#x2F;issues&#x2F;9958" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;supabase&#x2F;supabase&#x2F;issues&#x2F;9958</a>
评论 #33988774 未加载
评论 #33989000 未加载
forthorbor超过 2 年前
Is this only TOTP, or will WebAuthn also be implemented?
评论 #33988801 未加载
评论 #33988752 未加载
swyx超过 2 年前
congrats team! absolutely necessary for good security these days. filling out more and more of the PaaS role!
elforce002超过 2 年前
Is there an ETA on multitenancy support?