Skip to content

NextAuth failed on Cloudflare pages #8547

Answered by Clem-
Mrezagolbaba asked this question in Help
Discussion options

You must be logged in to vote

You need to add the export const runtime = 'edge'; to every routes/pages as clearly explained in the error message.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Clem-
Comment options

Answer selected by Mrezagolbaba
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
question Ask how to do something or how something works
4 participants
Converted from issue

This discussion was converted from issue #8532 on September 10, 2023 14:20.