Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

1.1 KB
Raw Blame
{
  "name": "oauth-consent-tanstack",
  "type": "registry:block",
  "title": "OAuth Consent for TanStack Start",
  "description": "OAuth 2.1 consent screen and route for an existing authenticated application.",
  "docs": "After installation, set the following in `supabase/config.toml`. Recent CLI versions already write an `[auth.oauth_server]` section with `enabled = false` \u2014 edit that section rather than adding a second one:\n\n```toml\n[auth.oauth_server]\nenabled = true\nauthorization_url_path = \"/oauth/consent\"\n```",
  "registryDependencies": ["button", "card", "https://supabase.com/library/r/safe-next-path.json"],
  "files": [
    {
      "path": "registry/default/blocks/oauth-consent/components/oauth-consent.tsx",
      "type": "registry:component"
    },
    {
      "path": "registry/default/blocks/oauth-consent/hooks/use-oauth-consent.ts",
      "type": "registry:hook"
    },
    {
      "path": "registry/default/blocks/oauth-consent-tanstack/routes/oauth/consent.tsx",
      "type": "registry:file",
      "target": "routes/oauth/consent.tsx"
    }
  ]
}