Skip to content

Is the passport file supposed to be named, '[...auth].ts' ? #2129

Answered by Skn0tt
insanity54 asked this question in Q&A
Discussion options

You must be logged in to vote

api/auth/[...auth].ts is indeed the correct filename. It's a so-called dynamic API Route, which basically matches all routes that start with auth/.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by insanity54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants