feat: start using refresh tokens and better session handler

This commit is contained in:
canove
2020-09-29 20:30:02 -03:00
parent 3a777dec39
commit c8b4b5bdfe
16 changed files with 209 additions and 46 deletions

View File

@@ -1,4 +1,6 @@
export default {
secret: "mysecret",
expiresIn: "7d"
expiresIn: "15m",
refreshSecret: "myanothersecret",
refreshExpiresIn: "7d"
};