File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,7 @@ jwt: {
123
123
// Defaults to NextAuth.js secret if not explicitly specified.
124
124
// This is used to generate the actual signingKey and produces a warning
125
125
// message if not defined explicitly.
126
+ // You can generate a secret be using `openssl rand -base64 64`
126
127
secret: ' INp8IvdIyeMcoGAgFGoA61DdBglwwSqnXJZkgz8PSnw' ,
127
128
// You can generate a signing key using `jose newkey -s 512 -t oct -a HS512`
128
129
// This gives you direct knowledge of the key used to sign the token so you can use it
@@ -140,6 +141,7 @@ jwt: {
140
141
},
141
142
// Set to true to use encryption. Defaults to false (signing only).
142
143
encryption: true ,
144
+ // You can generate an encryption key by using `npx node-jose-tools newkey -s 256 -t oct -a A256GCM -u enc`
143
145
encryptionKey: " " ,
144
146
// decryptionKey: encryptionKey,
145
147
decryptionOptions: {
You can’t perform that action at this time.
0 commit comments