Skip to main content

Secure APIs with FastAPI and the Microsoft Identity Platform

1h 45m 17s
English
Paid

Azure Active Directory (Azure AD) is a comprehensive cloud-based Identity and Access Management service provided by Microsoft. With the rise of security threats, it's crucial to build secure solutions featuring robust authentication and authorization services to protect your data.

In this course, we will introduce basic identity principles and teach you how to use Azure AD to control who can access your Fast APIs and how they can do so, using open industry standards such as OAuth2 and OIDC.

Course Overview

Secure APIs with FastAPI and the Microsoft Identity Platform is designed for Python developers aiming to implement secure, JWT-based authentication and authorization by leveraging Azure AD—a scalable, secure, and flexible identity provider.

What You Will Learn

  • Understanding the fundamentals of identity management and its importance.
  • Integrating Azure AD with FastAPI for optimal API security.
  • Applying OAuth2 and OIDC standards for secure authentication.
  • Implementing JWT-based authentication without the need for complex coding.

Why Take This Course

If you are a Python developer or solution architect looking for a plug and play solution to secure your APIs, this course is tailored for you. You will gain insights into Azure AD and how to use it efficiently without requiring detailed knowledge of OAuth2 and OIDC mechanisms. Secure your applications with ease and confidence!

About the Author: Talkpython

Talkpython thumbnail
Talk Python to Me is a weekly podcast hosted by Michael Kennedy. The show covers a wide array of Python topics as well as many related topics (e.g. MongoDB, AngularJS, DevOps).

Watch Online 26 lessons

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 26 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: Welcome
All Course Lessons (26)
#Lesson TitleDurationAccess
1
Welcome Demo
01:20
2
API security
01:02
3
Your instructor
01:02
4
More on FastAPI and Microsoft Identit
01:14
5
What is identity?
03:19
6
Username and password databases
03:19
7
Introduction to the OAuth2 protocol
03:36
8
Introduction to the OIDC protocol
03:19
9
Identity-as-a-service
03:19
10
Introduction to Azure Active Directory (Azure AD)
02:25
11
Provisioning an Azure AD tenant
04:59
12
Creating your first application registration
05:01
13
Securing FastAPI with Azure A
08:15
14
Application types
03:28
15
Demo: Building a console app that calls a secure FastAPI API
15:20
16
Demo: ASP.NET Core web app consuming a FastAPI API
13:09
17
Benefits of JWT authentication
04:35
18
The anatomy of JWTs and token validation
11:24
19
Secure authentication with self-signed certificates
06:23
20
Handling authentication and authorization errors
04:06
21
You've made it!
00:59
22
Review: Introduction to the Microsoft Identity Platform
00:59
23
Review: Securing FastAPI with Microsoft Identity
00:51
24
Review: Calling our secure FastAPI
00:51
25
Review: JWT-based authentication
00:33
26
Thanks and congrats
00:29
Unlock unlimited learning

Get instant access to all 25 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription