From 9cd5db6f06bbce2a8cf69ffdcc1bf02d20281737 Mon Sep 17 00:00:00 2001 From: Andrew Smith Date: Thu, 31 Aug 2023 15:27:57 +0000 Subject: [PATCH] Update with a new server-side auth section --- .../NavigationMenu.constants.ts | 22 ++++++++++++------- apps/docs/pages/guides/auth/auth-helpers.mdx | 22 +++---------------- ...mail-based-auth-with-pkce-flow-for-ssr.mdx | 0 3 files changed, 17 insertions(+), 27 deletions(-) rename apps/docs/pages/guides/auth/{ => server-side}/email-based-auth-with-pkce-flow-for-ssr.mdx (100%) 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.
- {/* Auth UI */} -
- -
- {/* Flutter Auth UI */} -
- -
{/* Next.js */}