惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

B
Blog
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Last Week in AI
Last Week in AI
酷 壳 – CoolShell
酷 壳 – CoolShell
人人都是产品经理
人人都是产品经理
Jina AI
Jina AI
雷峰网
雷峰网
博客园_首页
WordPress大学
WordPress大学
博客园 - 司徒正美
爱范儿
爱范儿
博客园 - 聂微东
IT之家
IT之家
美团技术团队
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 三生石上(FineUI控件)
有赞技术团队
有赞技术团队
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
Tailwind CSS Blog
博客园 - Franky
V
V2EX
GbyAI
GbyAI
阮一峰的网络日志
阮一峰的网络日志

Supabase Blog

AI Agents Know About Supabase. They Don't Always Use It Right. Custom OIDC Providers for Supabase Auth 100,000 GitHub stars Supabase docs over SSH Navigating Regional Network Blocks Supabase Joins the Stripe Projects Developer Preview Log Drains: Now available on Pro Supabase Storage: major performance, security, and reliability updates Supabase incident on February 12, 2026 Hydra joins Supabase X / Twitter OAuth 2.0 is now available for Supabase Auth BKND joins Supabase Supabase is now an official Claude connector Supabase PrivateLink is now available Introducing: Postgres Best Practices When to use Read Replicas vs. bigger compute Introducing TRAE SOLO integration with Supabase Supabase Security Retro: 2025 Sync Stripe Data to Your Supabase Database in One Click Building ChatGPT Apps with Supabase Edge Functions and mcp-use Own Your Observability: Supabase Metrics API Introducing iceberg-js: A JavaScript Client for Apache Iceberg Introducing Supabase for Platforms Adding Async Streaming to Postgres Foreign Data Wrappers Build "Sign in with Your App" using Supabase Auth Introducing Seven New Email Templates for Supabase Auth The new Supabase power for Kiro Introducing Supabase ETL Introducing Analytics Buckets Introducing Vector Buckets
Supabase Auth: Bring Your Own Clerk
Stojan Dimitrovski · 2025-03-31 · via Supabase Blog

Supabase Auth: Bring Your Own Clerk

Today we're expanding our official Third-party Auth integrations to include Clerk.

Third-party Auth allows you to use external Auth providers with the Supabase as a drop-in replacement for Supabase Auth. This modular design is intentional, allowing you to pick and choose features of Supabase. Our platform makes it easy to get started with Postgres and any of your favorite tools.

It was already possible to use Clerk with Supabase, however the previous method was a bit of a hack that required sharing your project's secret and JWT templates from Clerk. We've worked with the Clerk team on the new implementation. Now you can enjoy better security and the same developer experience you've come to expect from Supabase.

To get started with Clerk and Supabase, visit Clerk's Connect with Supabase page.

Register your Clerk domain in the Supabase Dashboard or in the CLI:


_10

[auth.third_party.clerk]

_10

enabled = true

_10

domain = "example.clerk.accounts.dev"


In your JavaScript app all you need to do is write the following code:


_10

import { createClient } from '@supabase/supabase-js'

_10

_10

const SUPABASE_URL = 'https://<supabase-project>.supabase.co'

_10

const SUPABASE_ANON_KEY = '<SUPABASE_ANON_KEY>'

_10

_10

const supabase = createClient(SUPABASE_URL, SUPABASE_ANON_KEY, {

_10

accessToken: () => {

_10

return Clerk.session?.getToken()

_10

},

_10

})


Read the docs to set up Flutter and Swift (iOS) applications, and to learn how to use Postgres Row-level Security (RLS) Policies.

One more thing: today we're making Third-party Auth cheaper so that it has pricing parity with Supabase Auth.

You can have up to 50,000 MAU on the Free plan, or 100,000 MAU on the Pro plan and $0.00325 per MAU above that number.

Free PlanPro Plan
Previously50 MAUs included50,000 MAUs included
Now50,000 MAUs included100,000 MAUs included

Supabase Auth makes it easy to implement authentication and authorization in your app. We provide client SDKs and API endpoints to help you create and manage users.