Skip to content

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

1.4 KB
Raw Blame
{
  "name": "social-auth-nextjs",
  "type": "registry:block",
  "title": "Social Auth flow for Nextjs and Supabase",
  "description": "Social Auth flow for Nextjs and Supabase",
  "registryDependencies": ["button", "card", "https://supabase.com/library/r/safe-next-path.json"],
  "dependencies": ["@supabase/ssr@latest", "@supabase/supabase-js@latest"],
  "files": [
    {
      "path": "registry/default/blocks/social-auth-nextjs/app/auth/login/page.tsx",
      "type": "registry:page",
      "target": "app/auth/login/page.tsx"
    },
    {
      "path": "registry/default/blocks/social-auth-nextjs/app/auth/error/page.tsx",
      "type": "registry:page",
      "target": "app/auth/error/page.tsx"
    },
    {
      "path": "registry/default/blocks/social-auth-nextjs/app/protected/page.tsx",
      "type": "registry:page",
      "target": "app/protected/page.tsx"
    },
    {
      "path": "registry/default/blocks/social-auth-nextjs/app/auth/oauth/route.ts",
      "type": "registry:page",
      "target": "app/auth/oauth/route.ts"
    },
    {
      "path": "registry/default/blocks/social-auth-nextjs/components/login-form.tsx",
      "type": "registry:component"
    },
    {
      "path": "registry/default/blocks/social-auth-nextjs/middleware.ts",
      "type": "registry:file",
      "target": "middleware.ts"
    },
    {
      "path": "registry/default/blocks/social-auth-nextjs/components/logout-button.tsx",
      "type": "registry:component"
    }
  ]
}