CityOfLosAngeles / angeleno-my-account

App that allows Angeleno Account holders to update their profile, password, MFA, and app consent.
MIT License
1 stars 0 forks source link

Reuse Tokens When Possible #63

Closed cbhernan closed 4 months ago

cbhernan commented 9 months ago

Problem

Right now we generate an Auth0 token, which is valid for 24 hours, and a Google JWT, which is valid for 1 hour. Codebase currently generates new tokens on every request, but we should reuse the token if calls are made within its lifespan.