本番環境に対応した ID、
3行で。
OAuth (15 providers), MFA, magic links, granular RBAC. One single SDK, zero opaque redirects, RLS policies that work seamlessly with your Postgres.
'use server'import { aura } from '@/lib/aurabase'export async function signIn(formData: FormData) {const email = formData.get('email') as stringconst password = formData.get('password') as stringconst { data, error } = await aura.auth.signInWithPassword({email, password,mfa: 'required', // enforce TOTP if enrolled})if (error) return { error: error.message }redirect('/dashboard')}
エンタープライズ ID プラットフォームに期待されるすべて
15 OAuth providers
Google, GitHub, Discord, Facebook, X, Microsoft, Apple, Spotify, Twitch, Bitbucket, Zoom, Notion, Figma, Kakao, Snapchat, plus generic OIDC.
TOTP MFA
Authy/1Password compatible TOTP, single-use recovery codes, optional SMS login fallback.
Magic links & OTP
Passwordless email or 6-digit OTP. Localized email templates, per-address rate limiting, SMS fallback.
Granular RBAC
Roles, permissions, org hierarchies. Postgres policies generated automatically from your RBAC graph.
Bot detection
Behavioral fingerprinting, invisible challenges, IP/device rate-limiting. Blocks 99.7% of credential stuffing.
ユーザーがすでに信頼しているプロバイダーに接続します
15 の OAuth プロバイダーが公式に保守されています。最もリクエストの多かった機能は、PKCE、状態検証、CSRF 保護、自動トークン ローテーションを備え、Studio からワンクリックで準備が整います。
開発者にとって使いやすい専用の REST サーフェス
/auth/v1/signupCreate an account. Optional email verification./auth/v1/signin/passwordAuthenticate with password, returns session + refresh token./auth/v1/signin/oauth/:providerInitiate PKCE OAuth flow, returns consent URL./auth/v1/magic-linkSend magic link to the specified email address./auth/v1/mfa/enrollTrigger TOTP enrollment for the user./auth/v1/sessionReturn current session and claims./auth/v1/userUpdate user metadata (re-verification required for email)./auth/v1/sessionSign out, revokes server-side refresh token.高速、安全、監査可能
Aurabase 認証 · Supabase 認証 · Auth0 · クラーク
よくある質問
How does this integrate with Postgres and RLS policies?+
request.jwt.claims Postgres セッションに接続し、RLS ポリシーがアクセスできるようにします。 auth.uid(), auth.role(), auth.tenant() アプリケーションレベルのミドルウェアは不要です。Can we connect an in-house IdP or enterprise SSO?+
How are passwords stored?+
Do sessions work on React Native, Tauri, and Electron?+
@aurabase/ネイティブ OS キーチェーン バインディングを備えた Tauri/Electron 用。リフレッシュ トークンが安全なキーチェーンから離れることはありません。What about audit logs?+
If I leave, what do I get to export?+
ユーザー.jsonl (Argon2id パスワード ハッシュを含む)、OAuth にリンクされたアカウント、および純粋な SQL での RLS ポリシーをエクスポートします。独自の API を再実装する必要はありません。私たちの形式は Auth.js および Lucia と互換性があります。