Define different pg schema for auth tables
Is it safe to be creating the auth schema (account, session, user, verification) on the
public
schema?
Auth.js creates a separate next_auth
schema for these tables which seems like a more secure method?
Supabase has a separate auth
schema.
See here: https://authjs.dev/getting-started/adapters/supabase?framework=Next.jsAuth.js | Supabase
Authentication for the Web
0 Replies