Skip to content

M2M token storage off-boarding

Compare
Choose a tag to compare
@sachin-maheshwari sachin-maheshwari released this 15 Feb 04:44
· 36 commits to master since this release

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