You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
InvalidAuth now takes detail AND request object. Users should be explicit and use InvalidAuthHttp or InvalidAuthWebSocket if they use this class. Example:
-raise InvalidAuth(detail="Missing admin role")+raise InvalidAuthHttp(detail="Missing admin role") # for HTTP requests+raise InvalidAuthWebSocket(detail="Missing admin role") # for WebSocket requests
V5 will be released at the end of the month. Please let me know if there's any features, docs or changes you'd like before then.
Pre-release can be found here. Install by
pip install "fastapi-azure-auth==5.0.0-rc0"
(Most of these implemented in #200)
Breaking changes:
InvalidAuth
now takes detail AND request object. Users should be explicit and use InvalidAuthHttp or InvalidAuthWebSocket if they use this class. Example:Docs:
Feat:
Fix:
The text was updated successfully, but these errors were encountered: