await auth() don't trigger session callback #12357
Unanswered
killjoy2013
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
Uh oh!
There was an error while loading. Please reload this page.
-
using magic link with Resend & Prisma with "next-auth": "^5.0.0-beta.23"
I'll use session callback to check if session expired. If so, I'll update Session table & session object with new expiration. So far so good, however, in middleware when check session with
const session = await auth()
session callback is not triggered & auth() returns null.
How can I force to trigger session callback?
Beta Was this translation helpful? Give feedback.
All reactions