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.js
Auth.js | Supabase
Authentication for the Web
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?