mirror of
https://github.com/Febbweiss/CloudBudget.git
synced 2026-03-04 22:35:38 +00:00
Feature: add expiration to JWT
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
jwt : {
|
jwt : {
|
||||||
secretOrKey : 's3cr3t',
|
secretOrKey : 's3cr3t',
|
||||||
issuer : undefined, // accounts.examplesoft.com
|
issuer : undefined, // accounts.examplesoft.com
|
||||||
audience : undefined // yoursite.net
|
audience : undefined, // yoursite.net
|
||||||
|
expiresInMinutes : 60*8 // 8 hours
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user