0.16.6
Removed
- The library no longer validates tokens after recieving them from auth0
This was unneccessary, already wasn't done in some code paths, and as a bonus let us remove a dependency.
Changed
- When first creating the client if bridge.rs fails to decrypt a cached token a warning will be logged, and a new token will be fetched
This behavior matches what happens when a token is automatically refreshed during the applications runtime, and should help address issues that might come up in the future.
- The cache key now contains a cache version, allowing it's schema to be updated in the future
From now on cache keys will use the following format:
auth0rs_tokens:{caller}:{token_version}:{audience}"
eg.
auth0rs_tokens:wingman:2:galactus"
Commits
- [PLATFORM-2239]: Fix backward incompatibility with previous bridge.rs versions (#167) by MaeIsBad