Feature: add expiration to JWT

This commit is contained in:
2015-08-14 14:33:39 +00:00
parent e6fc0be0ed
commit ffbc4f4980

View File

@@ -1,7 +1,8 @@
module.exports = {
jwt : {
secretOrKey : 's3cr3t',
issuer : undefined, // accounts.examplesoft.com
audience : undefined // yoursite.net
secretOrKey : 's3cr3t',
issuer : undefined, // accounts.examplesoft.com
audience : undefined, // yoursite.net
expiresInMinutes : 60*8 // 8 hours
}
}