v2.6.0
What's Changed
Library will now use httpx
instead of aiohttp
to retrieve JWKS from cognito userpool. Increased Async LRU cache for function that retrieves JWKS. Added support for settings JWKS_URL per userpool
Major changes
aiohttp
is removed as dependency, insteadhttpx
will be used sinceaiohttp
in some cases blocked async execution. #23
Changelog
httpx
library is being used instead ofaiohttp
- Async LRU cache on
cognito_jwt.decode.__get_keys_async
is increased to 10 as temporal workaround to prevent application from retrieving JWKS with each request that uses different userpool than previous one. In the future there is idea to make this dynamic(either to set value through configuration or set it to length ofuserpools
configuration field.). - Added support for
JWKS_URL
configuration per userpool which allow setting explicit URL where JWKS can be found for that userpool.
Full Changelog: v2.5.0...v2.6.0