iOS App in Python with Kivy - Part 9: Firebase Authentication Persistent Sign In

Опубликовано: 07 Октябрь 2024
на канале: Erik Sandberg
7,168
60

Part 9 of the Friendly Fitness iOS app in Python with Kivy tutorial.

👇 LINKS AND INFO! 👇

Consider donating to me if you are able to and appreciate my content: https://www.paypal.me/eriksandbergsof...

This part is a continuation of the previous video, part 8, where I showed how to sign users up using Firebase's authentication feature. This video shows you how to use the refresh token to remember user's login credentials using the REST API for the authentication feature. In my app, save the user's refresh token, and log them in if it's there. If there is no refresh token, I send them straight to my "sign up" screen. Enjoy!

When writing your own app with Firebase, please do not share the web API key. It is meant to be secure and I'm only showing mine for the purpose of this tutorial. It will be taken down when the tutorial is finished.

Kivy is an open source tool being developed by people in their spare time. They've just started to try to fund some core developers through monthly donations (they've been working unpaid on this framework for 9 years). Help support them if you can! https://opencollective.com/kivy (no money goes to me, I'm just advocating for the project).

Get the code on my github:
https://github.com/Dirk-Sandberg/Frie...

And follow along with some of my work at:
https://eriksandbergum.wixsite.com/ho...