Skip to content

Commit 470d253

Browse files
Set expiresIn when self-signing JWT token (#538)
1 parent 6acd844 commit 470d253

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ app.init = function({
122122
authAdminJwtPrivateKey,
123123
{
124124
algorithm: 'RS256',
125+
expiresIn: '10s',
125126
}
126127
);
127128

0 commit comments

Comments
 (0)