Skip to content

v0.3.0

Compare
Choose a tag to compare
@dorinclisu dorinclisu released this 19 Dec 15:05
· 20 commits to master since this release

No breaking changes from v0.2.1 (theoretically).
But there are quite a few improvements at once hence the jump for minor version.

  • Fix misleading error message when using token from another tenant (or just signed with a rotated / invalidated key) #19
  • Remove dependency on requests (still required for tests, but the single normal use call is now serviced by urllib).
  • Instantiate fastapi_auth0 logger instead of using the root logger so that log level can be customized for this module.
  • Various internal improvements (cleaner code, removed unnecessary parts, typed dict for jwks, using BaseSettings for env variables).
  • Add docstrings and logging of authentication failure reasons when auto_error = False.
  • Add py.typed file so mypy recognizes the package to have type hints.