Our great sponsors
-
fastapi-azure-auth
Easy and secure implementation of Azure Entra ID (previously AD) for your FastAPI APIs 🔒 B2C, single- and multi-tenant support.
If you want to use an external auth provider, I have written a library called FastAPI-Azure-Auth for authentication and authorization using Azure AD (which is free for something like 10.000 users). The tutorial should get you up and running quickly. Please note that this library is only intended to use for APIs (such as I sing a SPA frontend), so if you use jinja templates or render HTML from FastAPI this might not be the solution for you.
-
This is is a good GitHub example repo
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Related posts
- Implement AzureAD in 10 minutes with FastAPI-Azure-Auth - full tutorial in the documentation
- FastAPI Azure Auth 🔒 Now supports B2C (as well as single- and multi-tenant applications)
- FastAPI Azure AD Authentication 🔒 Now supports both single- and multi-tenants applications
- Show HN: Implement Azure AD auth for your FastAPI
- Azure AD authentication for FastAPI 🔒 Now supports both single- and multi-tenants. Documentation includes a full tutorial on how to set it up from scratch