fix(debugging): Debugging rate limit token signature bug

This commit is contained in:
Chris Troutner
2020-04-04 20:28:27 -07:00
parent 3cb617b722
commit 0baafba429
+2
View File
@@ -76,6 +76,8 @@ class RateLimits {
// pemPublicKey,
// jwtOptions
// )
console.log(`Last three letters of token secret: ${config.apiTokenSecret.slice(-3)}`)
decoded = _this.jwt.verify(req.locals.jwtToken, config.apiTokenSecret)
// console.log(`decoded: ${JSON.stringify(decoded, null, 2)}`)