A FastAPI Plug-In to support authentication authorization using the Microsoft Authentication Library (MSAL)
Full Changelog: https://github.com/dudil/fastapi_msal/compare/2.1.4...2.1.5
Merge PR by @timovp
Patch issue #32
This release also adds the ability to provide your own custom B2C policy by setting the b2c_policy parameter in MSALClientConfig. This is an optional change and should not affect your current code implementation.
Added IDTokenClaims to complete the list from the MS documentation: https://learn.microsoft.com/en-us/entra/identity-platform/id-token-claims-reference
These now include the "roles" claim asked by @steffenschumacher - Close #11
Added fixes and enhancements to the authorization checks.
Thank you @rmwesley and @u-iandono for your support and comments.
Added the ability to use MSALSchema.scheme as Security Dependency when using server-side session to save auth keys (in addition to JWT support.
Migrate from Pydantic 1.* to 2.*
This release is not compatible with pydantic version 1.* !!!
Fix publishing package
Version 1.8
Migrating from flint to Hatch as env. and publish backend