authentication - Auth.js v5 Database Session Strategy for Credential Provider Session Is Returning Null #12848
Unanswered
dHarshMakwana
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My Setup: Auth.js Version: v5
Provider: Credential Provider
Session Strategy: Database
Framework: Nextjs 15
Database: Supabase Postgres
Adapter: Drizzle
I'm returning the user in the authorize function if it passes the conditions. Everything is working correctly, except I am not getting the sessions in the page.tsx file when invoking const session = await auth();.
Any insights or suggestions would be greatly appreciated!
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions