Skip to content

Commit 4c8a088

Browse files
committed
Update [...nextauth].js
1 parent 6fa129c commit 4c8a088

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

example/pages/api/auth/[...nextauth].js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export const authOptions = {
99
clientSecret: Config.GITHUB_CLIENT_SECRET,
1010
}),
1111
],
12+
secret: Config.NEXTAUTH_SECRET,
1213
};
1314

14-
export default NextAuth(authOptions);
15+
export default NextAuth(authOptions);

0 commit comments

Comments
 (0)