Verifying Firebase username/password without using the Sign In component

In this example I’m just proving the concept and leaving the rest of the game to the developer. When there is a case that you need to authenticate the user’s username and password without using the Sign In component then you will need a similar code.

https://x.thunkable.com/projectPage/619e8d851d818001049945c2

The projects simply takes the username and password provided and run them through a Web API component to verify that the user is valid and authenticated and pass:

  • User ID
  • Access Token
  • Refresh Token
  • time to Expire in number of seconds.

This information could then be used to, for example, access the Firebase Firestore or Firebase Storage or any other database function that requires an access token that is not normally provided by the Sign In component.

6 Likes

Wow! This is impressive!

2 Likes

oooooh! :star_struck:

5 Likes