Skip to content

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

Update with a new server-side auth section

Andrew Smith9cd5db6f06bb
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
index 2a5991b0882..bdf99c5a3e4 100644
--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
@@ -481,10 +481,6 @@ export const auth = {
},
{ name: 'Password Reset', url: '/guides/auth/auth-password-reset' },
{ name: 'Email Templates', url: '/guides/auth/auth-email-templates' },
- {
- name: 'Email Auth with PKCE flow for SSR',
- url: '/guides/auth/email-based-auth-with-pkce-flow-for-ssr',
- },
],
},
{
@@ -496,22 +492,32 @@ export const auth = {
{ name: 'Managing User Data', url: '/guides/auth/managing-user-data' },
{ name: 'Multi-Factor Authentication', url: '/guides/auth/auth-mfa' },
{ name: 'Row Level Security', url: '/guides/auth/row-level-security' },
- { name: 'Server-side Rendering', url: '/guides/auth/server-side-rendering' },
],
},
{
- name: 'Auth Helpers',
+ name: 'Server-side Auth',
url: undefined,
items: [
{ name: 'Overview', url: '/guides/auth/auth-helpers' },
- { name: 'Auth UI', url: '/guides/auth/auth-helpers/auth-ui' },
- { name: 'Flutter Auth UI', url: '/guides/auth/auth-helpers/flutter-auth-ui' },
{
name: 'Next.js',
url: '/guides/auth/auth-helpers/nextjs',
},
{ name: 'Remix', url: '/guides/auth/auth-helpers/remix' },
{ name: 'SvelteKit', url: '/guides/auth/auth-helpers/sveltekit' },
+ { name: 'Server-side Rendering', url: '/guides/auth/server-side-rendering' },
+ {
+ name: 'Email Auth with PKCE flow for SSR',
+ url: '/guides/auth/server-side/email-based-auth-with-pkce-flow-for-ssr',
+ },
+ ],
+ },
+ {
+ name: 'Auth UI',
+ url: undefined,
+ items: [
+ { name: 'Auth UI', url: '/guides/auth/auth-helpers/auth-ui' },
+ { name: 'Flutter Auth UI', url: '/guides/auth/auth-helpers/flutter-auth-ui' },
],
},
{
diff --git a/apps/docs/pages/guides/auth/auth-helpers.mdx b/apps/docs/pages/guides/auth/auth-helpers.mdx
index 26b798b820b..63a61daec3f 100644
--- a/apps/docs/pages/guides/auth/auth-helpers.mdx
+++ b/apps/docs/pages/guides/auth/auth-helpers.mdx
@@ -2,31 +2,15 @@ import Layout from '~/layouts/DefaultGuideLayout'
export const meta = {
id: 'index',
- title: 'Auth Helpers Overview',
- description: 'A collection of framework-specific Auth utilities for working with Supabase.',
+ title: 'Server-Side Auth Overview',
+ description: 'Server-Side Auth guides and utilities for working with Supabase.',
sidebar_label: 'Overview',
}
-A collection of framework-specific Auth utilities for working with Supabase.
+Working with server-side frameworks is a bit different to client-side frameworks, in this section we cover the various ways of handling authentication on the server-side and provide some helper libraries to make the process more seamless when working with Supabase.
<div className="container" style={{ padding: 0 }}>
<div className="grid md:grid-cols-12 gap-4">
- {/* Auth UI */}
- <div className="col-span-6">
- <ButtonCard
- to={'/guides/auth/auth-helpers/auth-ui'}
- title={'Auth UI'}
- description={'A pre-built React component for authenticating users.'}
- />
- </div>
- {/* Flutter Auth UI */}
- <div className="col-span-6">
- <ButtonCard
- to={'/guides/auth/auth-helpers/flutter-auth-ui'}
- title={'Flutter Auth UI'}
- description={'Pre-built Flutter widgets for authenticating users.'}
- />
- </div>
{/* Next.js */}
<div className="col-span-6">
<ButtonCard
diff --git a/apps/docs/pages/guides/auth/email-based-auth-with-pkce-flow-for-ssr.mdx b/apps/docs/pages/guides/auth/server-side/email-based-auth-with-pkce-flow-for-ssr.mdx
similarity index 100%
rename from apps/docs/pages/guides/auth/email-based-auth-with-pkce-flow-for-ssr.mdx
rename to apps/docs/pages/guides/auth/server-side/email-based-auth-with-pkce-flow-for-ssr.mdx