Skip to content
Discussion options

You must be logged in to vote

As per usual I figured this out just after formulating this question. It turned out I was importing next-auth in the server, which is not supported and was accidental. Probably caused by overly eager auto-complete.

const { getSession } = require("next-auth/react")

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Knockturnal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant