Fastapi Azure Auth Versions Save

Easy and secure implementation of Azure Entra ID (previously AD) for your FastAPI APIs 🔒 B2C, single- and multi-tenant support.

3.5.0

1 year ago

Features:

  • B2CMultiTenantAuthorizationCodeBearer class which simplifies a multi-tenant B2C setup. ( #93 @kristiqntashev )

Fix:

  • Make tid optional in the User model to support tokens sent from a B2C single-tenant ( #96 @marcinplatek )

Github actions:

  • Fix caching ( @jonasks )

3.4.0

2 years ago

Features

  • Support Python3.8. ( #75, @manupatel007 ) 🚀

3.3.0

2 years ago

Features

  • Add setting to specify openid_config_url in AzureAuthorizationCodeBearerBase to add support for B2C tenants. ( #48 @robteeuwen and @JonasKs )
  • Use python-jose to load JWK, instead of x5c-keys loaded with cryptography. This add support for B2C tenants ( #48 @robteeuwen and @JonasKs )

Other

  • Rewrite tests and clean up code ( #48 @JonasKs )

3.2.2

2 years ago

Fixes

  • Loosen cryptography version requirement, adding support for cryptography version 36, and future major bumps. ( @JonasKs, 63868904e9c7c2f3da31cdeefebec4884da402b4)

3.2.1

2 years ago

Bugfix

  • Python3.9.0 and Python3.9.1 has a bug with collections.abc.Callable, so this typing import has been changed to typing.Callable ( @ravaszf and @JonasKs #50 )

3.2.0

2 years ago

Features

  • auto_error flag/setting. When set to False an invalid token will return None instead 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

2 years ago

Features

  • Trio support, by replacing aiohttp with httpx( @JonasKs #34 )
    • Testsuite is now running on both asyncio and trio, using anyio. aioresponses has been replaced with respx
    • Since FastAPI version 0.69.0, trio is officially supported

3.0.3

2 years ago

Fixes

  • Fixes FastAPI version syntax ( @bmoore #30 )

3.0.2

2 years ago

Fixes

  • Loosen FastAPI version requirement, allowing installation of this module on FastAPI 0.70.0+ ( @bmoore #28 )
    • Add Python3.10 and FastAPI==0.70.0 to pipeline matrix ( @jonasks #28 )

3.0.1

2 years ago

Fixes

  • Multi-tenant schema documentation ( #20 @sondrelg )
  • Multiple errors in the documentation ( #22 @daniwk )
  • Update cryptography requirement to ^35.0.0 and fix imports ( #26 @bmoore )