Releases: intility/fastapi-azure-auth
Releases · intility/fastapi-azure-auth
3.2.2 - Loosen cryptography version requirement
3.2.1 - Callable typing bugfix for Python3.9.0 and 3.9.1
3.2.0 - Auto_error flag
Features
auto_errorflag/setting. When set toFalsean invalid token will returnNoneinstead of raising exception. ( @bkmetzler and @JonasKs #44 )- This flag allows end users to configure multiple authentication paths, and reflects authentication classes shipped by FastAPI.
3.1.0 - Trio support
3.0.3 - Fix syntax for FastAPI version
3.0.2 - Loosen FastAPI version requirement
3.0.1 - Cryptography requirement upgrade and documentation fixes
3.0.0 - Rewrite, v2 token support, single- and multi-tenant support
This release contains breaking changes for how to setup your application, but also a bunch of new features.
The new documentation contains a full tutorial on how to configure Azure AD and FastAPI for both single- and multi-tenant applications.
Features
- Add
v2token support (and default) for single-tenant applications. - Full multi-tenant support
- Option to provide a callable which returns valid
iss(issuers), for those who has multi-tenant applications, but only for specific tenants
- Option to provide a callable which returns valid
Other
- User object is reworked, now also contain
access_tokenfor easier Azure Graph implementation - Add support for denying requests with wrong scopes, when
Securiy()is used (an alternativ toDepends()) - Moved
InvalidAuthtoexceptions.py - Documentation for everything from role checks, guest users, locking down tenants etc.
- No longer inheriting
OAuth2AuthorizationCodeBearer, solving mypy errors. - Rename
provider_config.pytoopenid_config.pyandProviderConfig()toOpenIdConfig() - Removal of pre-instance of
provider_configdue to OpenAPI authorization URL issues. This is now instanced onSingleTenantAzureAuthorizationCodeBearerorMultiTenantAzureAuthorizationCodeBearer.
3.0.0-rc1 - Release candidate
Release candidate for 3.0.0.
Release notes will be written for the actual release.