Skip to main content
CourseFlix

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!

Additional

https://github.com/talkpython/fastapi-and-the-microsoft-identity-platform-course

About the Author: Talk Python Training

Talk Python Training thumbnail

Talk Python Training is the paid course platform of Michael Kennedy, the host of the long-running Talk Python To Me podcast — one of the most-listened-to podcasts in the Python ecosystem. The course platform extends Michael's interview-based knowledge of the field into structured video courses taught by Michael and a curated set of guest instructors.

The course catalog covers the full Python landscape: web development with Django, Flask, FastAPI, and the broader async-Python stack; data science and pandas; LLM / RAG application development; testing and CI/CD; deployment patterns; the data-engineering side of Python; and a long list of practical Python patterns aimed at working developers. Few platforms cover the language with this much breadth from inside the Python community itself.

The CourseFlix listing under this source carries over 18 Talk Python Training courses spanning that range. Material is paid; Talk Python Training runs on per-course pricing on the original platform. Courses are aimed at developers using Python as a serious primary language rather than as a scripting tool.

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

Course content

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

Related courses

  • MongoDB with Async Python thumbnail

    MongoDB with Async Python

    By: Talk Python Training
    This course will teach you how to use MongoDB and document databases to build simpler and faster data-driven applications .
    7 hours 19 minutes 54 seconds 5 / 5
  • Eve: Building RESTful APIs with MongoDB and Flask thumbnail

    Eve: Building RESTful APIs with MongoDB and Flask

    By: Talk Python Training
    Eve is an open source Python REST API framework designed for human beings. It allows you to effortlessly build and deploy highly customizable, fully featured RE
    5 hours 6 minutes 34 seconds
  • 100 Days of Code - The Complete Python Pro Bootcamp for 2023 thumbnailFree

    100 Days of Code - The Complete Python Pro Bootcamp for 2023

    By: Udemy
    100 Days of Code: The Complete Python Pro Bootcamp 2023 by Angela Yu — Python basics, web scraping, data science, GUI projects, and more.
    58 hours 35 minutes 40 seconds 5 / 5

Frequently asked questions

What is Secure APIs with FastAPI and the Microsoft Identity Platform about?
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…
Who teaches Secure APIs with FastAPI and the Microsoft Identity Platform?
Secure APIs with FastAPI and the Microsoft Identity Platform is taught by Talk Python Training. You can find more courses by this instructor on the corresponding source page.
How long is Secure APIs with FastAPI and the Microsoft Identity Platform?
Secure APIs with FastAPI and the Microsoft Identity Platform contains 26 lessons with a total runtime of 1 hour 45 minutes. All lessons are available to watch online at your own pace.
Is Secure APIs with FastAPI and the Microsoft Identity Platform free to watch?
Secure APIs with FastAPI and the Microsoft Identity Platform is part of CourseFlix's premium catalog. A CourseFlix subscription unlocks the full video player; the course description, table of contents, and preview information are available to everyone.
Where can I watch Secure APIs with FastAPI and the Microsoft Identity Platform online?
Secure APIs with FastAPI and the Microsoft Identity Platform is available to watch online on CourseFlix at https://courseflix.net/course/secure-apis-with-fastapi-and-the-microsoft-identity-platform. The page hosts every lesson with the integrated video player; no download is required.