Fastapi-azure-auth

Latest version: v5.1.1

Safety actively analyzes 722617 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

5.1.1

What's Changed
* chore(deps): bump actions/cache from 4.2.0 to 4.2.2 by dependabot in https://github.com/intility/fastapi-azure-auth/pull/235
* Add support for extracting authentication params from www-authenticate header by romaindup in https://github.com/intility/fastapi-azure-auth/pull/237

New Contributors
* romaindup made their first contribution in https://github.com/intility/fastapi-azure-auth/pull/237

**Full Changelog**: https://github.com/intility/fastapi-azure-auth/compare/5.1.0...5.1.1

5.1.0

What's Changed
* feat: exceptions for auth errors 400, 401, 403 by davidhuser in https://github.com/intility/fastapi-azure-auth/pull/230
* docs: updates docs to reflect latest changes on Azure Entra ID by dansmachina in https://github.com/intility/fastapi-azure-auth/pull/212
* chore(deps): bump actions/cache from 4.0.2 to 4.1.2 by dependabot in https://github.com/intility/fastapi-azure-auth/pull/216
* chore(deps): bump actions/cache from 4.1.2 to 4.2.0 by dependabot in https://github.com/intility/fastapi-azure-auth/pull/222
* chore(deps): bump codecov/codecov-action from 4 to 5 by dependabot in https://github.com/intility/fastapi-azure-auth/pull/219
* Add missing import by imaduddinamajid in https://github.com/intility/fastapi-azure-auth/pull/225
* Update fastapi_configuration.mdx by semyonsh in https://github.com/intility/fastapi-azure-auth/pull/227


New Contributors
* dansmachina made their first contribution in https://github.com/intility/fastapi-azure-auth/pull/212
* imaduddinamajid made their first contribution in https://github.com/intility/fastapi-azure-auth/pull/225
* semyonsh made their first contribution in https://github.com/intility/fastapi-azure-auth/pull/227

**Full Changelog**: https://github.com/intility/fastapi-azure-auth/compare/5.0.1...5.1.0

5.0.1

What's Changed
* fix: Python 3.9 and 3.9 support by ndxmrb in https://github.com/Intility/fastapi-azure-auth/pull/209

New Contributors
* ndxmrb made their first contribution in https://github.com/Intility/fastapi-azure-auth/pull/209

**Full Changelog**: https://github.com/Intility/fastapi-azure-auth/compare/5.0.0...5.0.1

5.0.0

Breaking changes:
- Azure Entra (previously Active Directory) v1 token support dropped. This is mainly to reduce tests by 30%, and for a use-case I haven't documented, nor recommend anyone to use. If you're on v1 tokens, you should upgrade. ( 200 JonasKs )
- Pydantic v1 support dropped. Deprecation warnings fixed, closes 150 ( 200 JonasKs )
- `InvalidAuth` now takes detail AND request object. ( 200 JonasKs ) Users should be explicit and use InvalidAuthHttp or InvalidAuthWebSocket if they use this class. Example:

diff
-raise InvalidAuth(detail="Missing admin role")
+raise InvalidAuthHttp(detail="Missing admin role") for HTTP requests
+raise InvalidAuthWebSocket(detail="Missing admin role") for WebSocket requests


Docs:
- Use lifetimes instead of scopes ( 200 JonasKs )
- How to ensure only certain roles can access APIs, closing 117 ( 200 JonasKs )
- No need for redirect URL https://github.com/Intility/fastapi-azure-auth/issues/72#issuecomment-2226801501, closed in 202 ( 202 JonasKs )

Feat:
- Add support for WebSockets, closes 191, 155 ( 200 JonasKs )

Fix:
- Empty raise, closes 192 ( 2020 JonasKs )


**Full Changelog**: https://github.com/Intility/fastapi-azure-auth/compare/4.4.0...5.0.0

5.0.0rc0

This is a release candidate of 5.0.0.

Breaking changes:
- Azure Entra (previously Active Directory) v1 token support dropped. This is mainly to reduce tests by 30%, and for a use-case I haven't documented, nor recommend anyone to use. If you're on v1 tokens, you should upgrade. ( 200 JonasKs )
- Pydantic v1 support dropped. Deprecation warnings fixed, closes 150 ( 200 JonasKs )
- `InvalidAuth` now takes detail AND request object. ( 200 JonasKs ) Users should be explicit and use InvalidAuthHttp or InvalidAuthWebSocket if they use this class. Example:

diff
-raise InvalidAuth(detail="Missing admin role")
+raise InvalidAuthHttp(detail="Missing admin role") for HTTP requests
+raise InvalidAuthWebSocket(detail="Missing admin role") for WebSocket requests


Docs:
- Use lifetimes instead of scopes ( 200 JonasKs )
- How to ensure only certain roles can access APIs, closing 117 ( 200 JonasKs )
- No need for redirect URL https://github.com/Intility/fastapi-azure-auth/issues/72#issuecomment-2226801501, closed in 202 ( 202 JonasKs )

Feat:
- Add support for WebSockets, closes 191, 155 ( 200 JonasKs )

Fix:
- Empty raise, closes 192 ( 2020 JonasKs )


**Full Changelog**: https://github.com/Intility/fastapi-azure-auth/compare/4.4.0...5.0.0-rc0

4.4.0

What's Changed
* Migrate from python-jose to PyJWT by dvdalilue in https://github.com/Intility/fastapi-azure-auth/pull/194
- This resolves [GHSA-6c5p-j8vq-pqhj](https://github.com/advisories/GHSA-6c5p-j8vq-pqhj), thank you so much dvdalilue.

Other
* chore(deps): bump actions/cache from 4.0.1 to 4.0.2 by dependabot in https://github.com/Intility/fastapi-azure-auth/pull/190
* chore(deps): bump peaceiris/actions-gh-pages from 3 to 4 by dependabot in https://github.com/Intility/fastapi-azure-auth/pull/193

New Contributors
* dvdalilue made their first contribution in https://github.com/Intility/fastapi-azure-auth/pull/194

**Full Changelog**: https://github.com/Intility/fastapi-azure-auth/compare/4.3.1...4.4.0

Page 1 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.