Build a REST API with FastAPI and Firebase Authentication (Email and Password Auth)
Ssali Jonathan Ssali Jonathan
9.98K subscribers
9,823 views
170

 Published On Jun 25, 2023

In this video, we build a very simple REST API to demonstrate how we can integrate FireBase Authentication into a FastAPI app. We use Firebase-admin Python SDK and Pyrebase to help us build our Authentication functionality.

FIREBASE ADMIN:
https://firebase.google.com/docs/admi...

PYREBASE:
https://github.com/thisbejim/Pyrebase

#python #firebase #fastapi #api #authentication

SOURCE CODE:
https://github.com/jod35/FastAPI_fire...

BUY ME A COFFEE PLEASE:
https://buymeacoffee.com/jod35

SUBSCRIBE TO THE CHANNEL:
   / @ssalijonathan  

(0:00) Introduction
(0:27) Project Demo
(05:54) Project setup
(07:54) Create FastAPI server
(14:32) Set up Firebase Authentication
(26:58) Creating Pydantic Serializers
(31:00) Creating User Account
(40:12) Creatings access tokens
(46:29) Validate access token
(59:21) Conclusion

show more

Share/Embed