Skip to content

v1.5.0

Compare
Choose a tag to compare
@guillp guillp released this 11 Mar 20:58
· 46 commits to main since this release
def79cc

What's Changed

  • a lot of code refactoring, using attrs.frozen classes @guillp in #41
  • Fix expires_in field as str, update tests (fixes #26) by @gerarar in #27
  • include an Accept: application/json header on all backend requests (#28) by @guillp in #30
  • Fix incorrect jwks_uri validation in OAuth2 client (Fixes #34) by @mtr in #35
  • add ApiClient.auth to access the currently configured Auth Scheme for or an ApiClient by @guillp in #38
  • add @OverRide decorators to Auth Handlers methods by @guillp in #39
  • enforce endpoint uri validation by @guillp in #46 and #48
  • deps update by @guillp in #49

Breaking changes:

  • Endpoint urls passed to OAuth2Client are now validated (must use https, no custom port, must include a path, no fragment). Pass testing=True to disable those checks (might be useful for debugging an AS).
  • ApiClient now requires a root url and will never send requests outside of this root url

New Contributors

Full Changelog: v1.3.0...v1.5.0