The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: add mobile deep linking.
thorwebdev0b3628c2e3da
diff --git a/apps/docs/pages/guides/auth.mdx b/apps/docs/pages/guides/auth.mdxindex 2b578981226..75e514e5b7e 100644--- a/apps/docs/pages/guides/auth.mdx+++ b/apps/docs/pages/guides/auth.mdx@@ -77,15 +77,17 @@ Vercel provides an environment variable for the URL of the deployment called `NEconst { data, error } = await supabase.auth.signInWithOAuth({provider: 'github'options: {- redirectTo: `${- process.env.NEXT_PUBLIC_VERCEL_URL- ? 'https://' + process.env.NEXT_PUBLIC_VERCEL_URL- : 'http://localhost:3000'- }`+ redirectTo: process.env.NEXT_PUBLIC_VERCEL_URL+ ? `https://${process.env.NEXT_PUBLIC_VERCEL_URL}`+ : "http://localhost:3000"}}```+#### Mobile deep linking URIs++For mobile applications you can use deep linking URIs. For example for your `SITE_URL` you can specify something like `com.supabase://login-callback/` and for additional redirect URLs something like `com.supabase.staging://login-callback/` if needed.+## AuthorizationWhen you need granular authorization rules, nothing beats PostgreSQL's Row Level Security (RLS).