M2M token storage off-boarding
A proxy Auth0 server implemented through AWS lambda, which store the token in Redis cache. Following features covered -
- Using AWS Redis for off-board storage.
- The service only renew the token with Auth0 when the old token expires (and not just because it restarted).
- Multiple instances of the same service are able to use the same token.
- All the local token cache time is aligned with actual token expire time so NO need to provide TOKEN_CACHE_TIME explicitly