We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11939f2 commit 46e01afCopy full SHA for 46e01af
1 file changed
docs/docs/providers/credentials.md
@@ -37,7 +37,7 @@ If you return an object it will be persisted to the JSON Web Token and the user
37
38
The Credentials provider's `authorize()` method also provides the request object as the second parameter (see example below).
39
40
-```js title="pages/api/auth/[...nextauth].js"
+```js title="pages/api/auth/[...nextauth]/route.js"
41
import CredentialsProvider from "next-auth/providers/credentials";
42
...
43
providers: [
0 commit comments