This library allow you to easily implement Azure AD auth to your FastAPI APIs. It also implements authentication in the OpenAPI documentation.
The documentation[1] contains a full tutorial on how to configure Azure AD and FastAPI for both single- and multi-tenant applications. It includes examples on how to lock down your APIs to certain scopes, tenants, roles etc.
No plans for other languages at the moment. I am currently writing a blog post on how it works, which will be a good starting for those interested in working with OpenID Connect.
3 comments
[ 3.3 ms ] story [ 21.1 ms ] threadThis library allow you to easily implement Azure AD auth to your FastAPI APIs. It also implements authentication in the OpenAPI documentation. The documentation[1] contains a full tutorial on how to configure Azure AD and FastAPI for both single- and multi-tenant applications. It includes examples on how to lock down your APIs to certain scopes, tenants, roles etc.
[1] https://intility.github.io/fastapi-azure-auth/
Any plans for any other languages?