Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(supabase): make schema name configurable #12764

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

twinh
Copy link

@twinh twinh commented Mar 12, 2025

  • Add schema option to SupabaseAdapter configuration
  • Allow customization of the schema name used for storing user and session data
  • Update documentation to reflect the new configurable schema option

☕️ Reasoning

Allow users to specify custom schema names in the Supabase adapter to align with other Auth.js adapters, like Prisma, Neon.

This enhancement provides more flexibility for users who want to integrate Auth.js into existing database structures or prefer different schema organizations.

🧢 Checklist

  • Documentation
  • Tests
  • Ready to be merged

🎫 Affected issues

📌 Resources

- Add `schema` option to SupabaseAdapter configuration
- Allow customization of the schema name used for storing user and session data
- Update documentation to reflect the new configurable schema option
@twinh twinh requested a review from ndom91 as a code owner March 12, 2025 08:05
Copy link

vercel bot commented Mar 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
auth-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 12, 2025 8:11am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Visit Preview Mar 12, 2025 8:11am

Copy link

vercel bot commented Mar 12, 2025

@twinh is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions bot added adapters Changes related to the core code concerning database adapters supabase @auth/supabase-adapter labels Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adapters Changes related to the core code concerning database adapters supabase @auth/supabase-adapter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant