Build a REST API with FastAPI and Firebase Authentication (Email and Password Auth)

  Рет қаралды 11,553

Ssali Jonathan

Ssali Jonathan

Күн бұрын

Пікірлер: 44
@eddielicea3740
@eddielicea3740 Жыл бұрын
Rename schema_extra to json_schema_extra for the example values to update if you're following along with a later V.
@SsaliJonathan
@SsaliJonathan Жыл бұрын
Thanks for 5000 subscribers. Using Firebase Auth, you can also change your authentication to go beyond just using emails and Password. Would you love to see me make a video on that?
@theVtube10
@theVtube10 Жыл бұрын
Yes, using mobile number OTP
@karimunnesanigar7440
@karimunnesanigar7440 Жыл бұрын
yes please
@GraceOdey-wr7zk
@GraceOdey-wr7zk Жыл бұрын
yes please
@gannonk08
@gannonk08 6 ай бұрын
Thanks!
@SsaliJonathan
@SsaliJonathan 6 ай бұрын
Thanks
@evitorbarros
@evitorbarros Жыл бұрын
Thanks for the content!
@SsaliJonathan
@SsaliJonathan Жыл бұрын
My pleasure!. Thanks for watching
@mrchongnoi
@mrchongnoi Жыл бұрын
Glad I found your video. You save me some brain cells.
@SsaliJonathan
@SsaliJonathan Жыл бұрын
Thanks for watching. I’m glad it helped
@eddielicea3740
@eddielicea3740 Жыл бұрын
Thank you friend! Keep up the good work!
@SsaliJonathan
@SsaliJonathan Жыл бұрын
Thanks for the visit
@cleverengineer2410
@cleverengineer2410 Жыл бұрын
Amazing keep going buddy
@SsaliJonathan
@SsaliJonathan Жыл бұрын
Thanks for watching please. I’m glad the video helped
@fidelischukwunyere3142
@fidelischukwunyere3142 Жыл бұрын
Nice video... Congrats to you
@SsaliJonathan
@SsaliJonathan Жыл бұрын
Thanks for watching
@deevirus6725
@deevirus6725 10 ай бұрын
How to do crud with firebase + fastapi
@SsaliJonathan
@SsaliJonathan 10 ай бұрын
Sure. Thanks for the suggestion
@deevirus6725
@deevirus6725 10 ай бұрын
Firestore​ database @@SsaliJonathan
@deevirus6725
@deevirus6725 10 ай бұрын
And also plz explain briefly what is token and how it's will work❤
@HungNguyen-vz7mh
@HungNguyen-vz7mh Жыл бұрын
Thanks bro. Good tutorial
@SsaliJonathan
@SsaliJonathan Жыл бұрын
You're welcome. Glad it helped
@afuaayiku8669
@afuaayiku8669 5 ай бұрын
This is a really good video! Thank you for the effort you put into it. Let's say my front-end system uses firebase authentication (this is separate from the backend which isn't connected by the firebase SDK. How would you my python app then validate a token from the front-end, since it is not connected to the same firebase app?
@SsaliJonathan
@SsaliJonathan 5 ай бұрын
Interesting question. So you can use PyJWT. To check for errors like token expiration, invalid signatures and also errors that may exist if let’s say users don’t have the right claims. All that can be done when you decode the token
@bubbleflutter
@bubbleflutter 3 ай бұрын
Thanks brother
@SsaliJonathan
@SsaliJonathan 3 ай бұрын
welcome
@darioalb00
@darioalb00 Жыл бұрын
I learned a lot, thank you. But I still don't quite understand why Pyrebase4 (sign_in_with_email_and_password) is used in /login, and firebase_admin (auth.create_user) is used in /signup. In another tutorial, I saw that for the latter, Pyrebase4 is used with 'create_user_with_email_and_password'. I wonder if everything, including /ping, can't be done only with Pyrebase4 (self-described as: A simple python wrapper for the Firebase API).
@SsaliJonathan
@SsaliJonathan Жыл бұрын
I was using the methods that were available on the pyrebase initialization. The module May have changed in the latest version. Not sure
@SsaliJonathan
@SsaliJonathan Жыл бұрын
github.com/jod35/FastAPI_firebase_auth/blob/main/main.py this code may guide you. Have a great day friend
@HosseinKalbasi
@HosseinKalbasi 5 ай бұрын
Thanks a lot for this! How can we extend it to be able to login via Google as well?
@SsaliJonathan
@SsaliJonathan 5 ай бұрын
Guess I will make another video explaining how to do it.
@kikevanegazz325
@kikevanegazz325 Жыл бұрын
I tried to follow your tutorial but got an error that I can't work around, and it's got to do with pyrebase, regardless of pyrebase or pyrebase4... there's always an error that pops out. The initial one has got to do with conflicting versions of requests, but if I upgrade it, there are a bunch of other modules break.
@SsaliJonathan
@SsaliJonathan Жыл бұрын
I guess it’ll be wise you use the official sdk. The packages may have been updated at this point
@SaqibKhan-eo5ii
@SaqibKhan-eo5ii Жыл бұрын
thanks bro
@SsaliJonathan
@SsaliJonathan Жыл бұрын
Welcome. Thanks for watching
@Jimbrig2011
@Jimbrig2011 8 ай бұрын
Would this work the same if using supabase instead of firebase?
@SsaliJonathan
@SsaliJonathan 8 ай бұрын
Supabase and firebase aren’t the same. Kindly check out their python sdk here. supabase.com/docs/reference/python/introduction
@CK-yx2yv
@CK-yx2yv Жыл бұрын
Why do we need Pyrebase4, cant we just ditch it for Firebase SDK
@SsaliJonathan
@SsaliJonathan Жыл бұрын
Use the python sdk.
@carlosierralmaraz
@carlosierralmaraz Жыл бұрын
Really good video but please stop saying "basically" every 3 seconds for an entire hour. Hope it's taken as constructive criticism and not badly.
@SsaliJonathan
@SsaliJonathan Жыл бұрын
Glad someone finally said it. I am not offended about it. It is something I am working hard to fix. I just find myself saying it so much. Glad you liked the video.
@InfiniteInsights_88
@InfiniteInsights_88 Ай бұрын
I am a university student and until I came across your vid I suffered a lot to build my first API since our lectures don't really teach us I understood your process within a twinkle of an eye THANKS BRO 🫂🎉
@SsaliJonathan
@SsaliJonathan Ай бұрын
I’m for my video was helpful. Thanks for watching
Deploying FastAPI And PostgreSQL To Render
26:11
Ssali Jonathan
Рет қаралды 3,8 М.
FastAPI Authentication with  JWT (JSON Web Tokens)
56:18
Bek Brace
Рет қаралды 102 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
I Spent 100 Hours Inside The Pyramids!
21:43
MrBeast
Рет қаралды 46 МЛН
Quickly Authenticate Users with FastAPI and Token Authentication
46:05
Akamai Developer
Рет қаралды 132 М.
How to Implement Authn & Authz in FastAPI with KeyCloak
27:02
OpenAI Embeddings and Vector Databases Crash Course
18:41
Adrian Twarog
Рет қаралды 545 М.
Super Easy React Native AUTHENTICATION with Firebase 🔒
22:29
Simon Grimm
Рет қаралды 110 М.
FastAPI Tutorial - Building RESTful APIs with Python
1:03:10
Amigoscode
Рет қаралды 260 М.