We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 983eef4 commit 855ae07Copy full SHA for 855ae07
src/auth.ts
@@ -24,7 +24,7 @@ const config: NextAuthConfig = {
24
token.username = profile.login
25
}
26
27
-
+
28
const secret = process.env.SUPABASE_JWT_SECRET
29
if (secret && token.id) {
30
token.supabaseAccessToken = jwt.sign(
@@ -35,7 +35,7 @@ const config: NextAuthConfig = {
35
email: token.email,
36
role: "authenticated",
37
},
38
- secret
+ secret,
39
)
40
41
return token
0 commit comments