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.
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.