mirror of
https://github.com/supabase/supabase.git
synced 2026-10-12 12:55:06 +03:00
* feat(examnples/nextjs-with-supabase-auth): Add Supabase UI Auth components. * feat(examnples/nextjs-with-supabase-auth): Add SSR Cookie example. * Add the Supabase Vercel deploy integration. * chore: add basic styling and layout of Auth component. • used @supabase/ui to help layout text and style around the Auth component * fix nextjs link * style the SSR example * remove unused imports * chore: update dependencies Co-authored-by: mildtomato <jon.summers.muir@googlemail.com>
9 lines
227 B
JavaScript
9 lines
227 B
JavaScript
/**
|
|
* NOTE: this file is only needed if you're doing SSR (getServerSideProps)!
|
|
*/
|
|
import { supabase } from '../../utils/initSupabase'
|
|
|
|
export default function handler(req, res) {
|
|
supabase.auth.api.setAuthCookie(req, res)
|
|
}
|