Fastapi Msal Versions Save

A FastAPI Plug-In to support authentication authorization using the Microsoft Authentication Library (MSAL)

2.1.5

2 months ago

What's Changed

  • provide opportunity to declare redirect_uri from config. PR #35 by @colivi
  • Fix: Missing "groups" property on IDTokenClaim. Issue #36 by @JakobKristoffersenATP

Contributors

  • @colivi made their first code contribution
  • @JakobKristoffersenATP helped with creating and verification of the issue

Full Changelog: https://github.com/dudil/fastapi_msal/compare/2.1.4...2.1.5

2.1.4

2 months ago

Merge PR by @timovp

2.1.3

3 months ago

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.

2.1.2

6 months ago

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

2.1.1

6 months ago

Added fixes and enhancements to the authorization checks.

  • Return 401 instead of 500 in case of expired token
  • Better validation process to support more clear validation errors as enum instead of general error
  • Added ability to specifically request callback page after logout (not only per referrer header)
  • Refactor of methods signature to target few lint warnings

Thank you @rmwesley and @u-iandono for your support and comments.

2.1

6 months ago

Added the ability to use MSALSchema.scheme as Security Dependency when using server-side session to save auth keys (in addition to JWT support.

2.0

8 months ago

Migrate from Pydantic 1.* to 2.*

This release is not compatible with pydantic version 1.* !!!

1.8.1

8 months ago

Fix publishing package

1.8

8 months ago

Version 1.8

Migrating from flint to Hatch as env. and publish backend

1.7

2 years ago
  1. Updated to support python version 3.7 and above (was 3.9 and above)
  2. Fix session not initialize bug on first login
  3. Updated readme with working example