Update with a new server-side auth section

This commit is contained in:
Andrew Smith committed 2023-08-31 15:27:57 +00:00
1 parent 1b56873ea9
commit 9cd5db6f06
3 files changed
+17 -27

No files matched your search

@@ -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' },
],
},
{
+3 -19
View File
@@ -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