Feature: add expiration to JWT

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

View File

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