Fastapi-azure-auth

Latest version: v5.0.1

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

Scan your dependencies

Page 1 of 6

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

4.3.1

Not secure
What's Changed
* fix 180 change acct claim type from str to int by copdips in https://github.com/Intility/fastapi-azure-auth/pull/181
* chore(deps): bump actions/setup-python from 4 to 5 by dependabot in https://github.com/Intility/fastapi-azure-auth/pull/175
* chore(deps): bump actions/cache from 3.3.2 to 4.0.1 by dependabot in https://github.com/Intility/fastapi-azure-auth/pull/183
* chore(deps): bump codecov/codecov-action from 3 to 4 by dependabot in https://github.com/Intility/fastapi-azure-auth/pull/184
* Bump version by JonasKs in https://github.com/Intility/fastapi-azure-auth/pull/185

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

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

4.3.0

Not secure
What's Changed
* doc: add B2C user docs by davidhuser in https://github.com/Intility/fastapi-azure-auth/pull/140
* docs: rewrite single-tenant docs to be pydantic2 first by JonasKs in https://github.com/Intility/fastapi-azure-auth/pull/153
* chore(deps): bump actions/cache from 3.3.1 to 3.3.2 by dependabot in https://github.com/Intility/fastapi-azure-auth/pull/151
* chore(deps): bump actions/checkout from 3 to 4 by dependabot in https://github.com/Intility/fastapi-azure-auth/pull/152
* doc: add troubleshooting page with logging section by davidhuser in https://github.com/Intility/fastapi-azure-auth/pull/163
* doc: add example to call APIs via B2C by davidhuser in https://github.com/Intility/fastapi-azure-auth/pull/162
* parse auth_time as an int by roman-van-der-krogt in https://github.com/Intility/fastapi-azure-auth/pull/167
* Add scope to documentation by nikstuckenbrock in https://github.com/Intility/fastapi-azure-auth/pull/159
* configurable leeway by mehtatejas in https://github.com/Intility/fastapi-azure-auth/pull/165

New Contributors
* roman-van-der-krogt made their first contribution in https://github.com/Intility/fastapi-azure-auth/pull/167
* nikstuckenbrock made their first contribution in https://github.com/Intility/fastapi-azure-auth/pull/159
* mehtatejas made their first contribution in https://github.com/Intility/fastapi-azure-auth/pull/165

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

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.