Skip to content

Commit 657d5f1

Browse files
committedOct 1, 2019
🐛 Issue #23: Invalidate JWT after 5 minutes
1 parent f3360d4 commit 657d5f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ async function authorize(options) {
4444
}
4545

4646
const jwtPayload = {
47-
exp: Math.round(87000 + Date.now() / 1000),
47+
exp: Math.round(300 + Date.now() / 1000),
4848
iss: orgId,
4949
sub: technicalAccountId,
5050
aud: `${ims}/c/${clientId}`

0 commit comments

Comments
 (0)
Please sign in to comment.