Back to Browse

MIT App Inventor Firebase Authentication | Secure Login + Database Setup #signuplogin

3.2K views
Oct 14, 2025
26:06

📱💡 Need a custom MIT App Inventor or Kodular app? Struggling with bugs? I've got you covered! Check out my Fiverr gig: https://www.fiverr.com/s/pdGvoB8 I also make native Android apps: Native Android (Java) App: https://www.fiverr.com/s/xXKaq5x 📣 📣 📣 📣 The Web API key's place has changed! Now, you can get it by following this process:- Click on Project Overview on the left. Click on Add app on the mainscreen. Choose Web App. Give some name to your app and click on Register app...Wait for a few seconds. Some details will then show up below and your API key will be there! A short video for this new process is here: https://youtu.be/vIXS4c2GLj4 Full Written Tutorial: https://obsidiansofteducation.com/index.php/mit-app-inventor-firebase-authentication-realtime-database-tutorial/ ☕ Support the channel If this tutorial helped you, you can support my work here: https://obsidiansoft.gumroad.com/coffee Hello friends, In this video, I will teach you how to set up Firebase Authentication with secure Realtime Database rules and use it in MIT App Inventor. Previously, our Firebase database was always public with read and write rules set to true. However, this meant that anyone with the database link could access and modify the data. For professional apps, we need database security, so we will use Firebase Authentication and configure the database in such a way that each user must log in first and can access only his own data. This is Part 1 of the tutorial. In this part, we will complete the full Firebase project setup and code the app so that the user can securely log in. In the next part, I will show how to save and load user-specific data after a secure login. Firebase console: https://console.firebase.google.com/ Database Rules: { "rules": { "users": { "$uid": { ".read": "auth != null && auth.uid === $uid", ".write": "auth != null && auth.uid === $uid" } } } } Use your own database url and web API key. URL for Sign up: https://identitytoolkit.googleapis.com/v1/accounts:signUp?key= URL for Log in: https://identitytoolkit.googleapis.com/v1/accounts:signInWithPassword?key= Sample JSON returned after Firebase Authentication: { "idToken": "eyJhbGciOiJSUzI1NiIsImtpZCI6IjA...", "email": "[email protected]", "refreshToken": "AEu4IL3i6K9oZg0zjB0D6VfL9g...", "expiresIn": "3600", "localId": "ZxY123abc456def789ghi012jkl", "kind": "identitytoolkit#SignupNewUserResponse" } #FirebaseAuthentication #MITAppInventor #AppInventorFirebase #FirebaseLogin #FirebaseSignup #FirebaseEmailPassword #SecureLogin #FirebaseDatabase #FirebaseSecurity #AppInventorTutorial #FirebaseTutorial #AppInventorFirebaseAuthentication #FirebaseDatabaseRules #FirebaseForBeginners #FirebaseProjectSetup #FirebaseAuthAppInventor #mitappinventortutorial

Download

0 formats

No download links available.

MIT App Inventor Firebase Authentication | Secure Login + Database Setup #signuplogin | NatokHD