Rename schema_extra to json_schema_extra for the example values to update if you're following along with a later V.
@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 Жыл бұрын
Yes, using mobile number OTP
@karimunnesanigar7440 Жыл бұрын
yes please
@GraceOdey-wr7zk Жыл бұрын
yes please
@gannonk086 ай бұрын
Thanks!
@SsaliJonathan6 ай бұрын
Thanks
@evitorbarros Жыл бұрын
Thanks for the content!
@SsaliJonathan Жыл бұрын
My pleasure!. Thanks for watching
@mrchongnoi Жыл бұрын
Glad I found your video. You save me some brain cells.
@SsaliJonathan Жыл бұрын
Thanks for watching. I’m glad it helped
@eddielicea3740 Жыл бұрын
Thank you friend! Keep up the good work!
@SsaliJonathan Жыл бұрын
Thanks for the visit
@cleverengineer2410 Жыл бұрын
Amazing keep going buddy
@SsaliJonathan Жыл бұрын
Thanks for watching please. I’m glad the video helped
@fidelischukwunyere3142 Жыл бұрын
Nice video... Congrats to you
@SsaliJonathan Жыл бұрын
Thanks for watching
@deevirus672510 ай бұрын
How to do crud with firebase + fastapi
@SsaliJonathan10 ай бұрын
Sure. Thanks for the suggestion
@deevirus672510 ай бұрын
Firestore database @@SsaliJonathan
@deevirus672510 ай бұрын
And also plz explain briefly what is token and how it's will work❤
@HungNguyen-vz7mh Жыл бұрын
Thanks bro. Good tutorial
@SsaliJonathan Жыл бұрын
You're welcome. Glad it helped
@afuaayiku86695 ай бұрын
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?
@SsaliJonathan5 ай бұрын
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
@bubbleflutter3 ай бұрын
Thanks brother
@SsaliJonathan3 ай бұрын
welcome
@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 Жыл бұрын
I was using the methods that were available on the pyrebase initialization. The module May have changed in the latest version. Not sure
@SsaliJonathan Жыл бұрын
github.com/jod35/FastAPI_firebase_auth/blob/main/main.py this code may guide you. Have a great day friend
@HosseinKalbasi5 ай бұрын
Thanks a lot for this! How can we extend it to be able to login via Google as well?
@SsaliJonathan5 ай бұрын
Guess I will make another video explaining how to do it.
@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 Жыл бұрын
I guess it’ll be wise you use the official sdk. The packages may have been updated at this point
@SaqibKhan-eo5ii Жыл бұрын
thanks bro
@SsaliJonathan Жыл бұрын
Welcome. Thanks for watching
@Jimbrig20118 ай бұрын
Would this work the same if using supabase instead of firebase?
@SsaliJonathan8 ай бұрын
Supabase and firebase aren’t the same. Kindly check out their python sdk here. supabase.com/docs/reference/python/introduction
@CK-yx2yv Жыл бұрын
Why do we need Pyrebase4, cant we just ditch it for Firebase SDK
@SsaliJonathan Жыл бұрын
Use the python sdk.
@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 Жыл бұрын
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Ай бұрын
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 🫂🎉