Skip to content

Commit

Permalink
chore: refresh_token will now invalidated after 30 days
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex4386 committed Dec 24, 2021
1 parent 6d26c56 commit 5358983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.env.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ module.exports = {
oauth: {
AUTHORIZATION_CODE: Number(process.env.TOKEN_INVALIDATE_OAUTH_AUTHORIZATION_CODE) || 300,
ACCESS_TOKEN: Number(process.env.TOKEN_INVALIDATE_OAUTH_ACCESS_TOKEN) || 7200,
REFRESH_TOKEN: Number(process.env.TOKEN_INVALIDATE_OAUTH_REFRESH_TOKEN) || 604800,
REFRESH_TOKEN: Number(process.env.TOKEN_INVALIDATE_OAUTH_REFRESH_TOKEN) || 2592000,
ACCOUNT_TOKEN: Number(process.env.TOKEN_INVALIDATE_OAUTH_ACCOUNT_TOKEN) || -1,
DEVICE_CODE: Number(process.env.TOKEN_INVALIDATE_OAUTH_DEVICE_CODE) || 300,
},
Expand Down

0 comments on commit 5358983

Please sign in to comment.