Skip to content

Instantly share code, notes, and snippets.

@richardherbert
Created January 13, 2026 14:35
Show Gist options
  • Select an option

  • Save richardherbert/9cbac5fbb1b7d63f8492c31be8c4a06e to your computer and use it in GitHub Desktop.

Select an option

Save richardherbert/9cbac5fbb1b7d63f8492c31be8c4a06e to your computer and use it in GitHub Desktop.
src/routes/signout/+page.server.js
// src/routes/signout/+page.server.js
import { supabase } from '$lib/supabaseClient';
export const load = async () => {
const { error } = await supabase.auth.signOut();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment