How do I use Firebase Auth REST API?

Connect your web app to Firebase, your REST API will handle the authentication by receiving the user credentials, then authenticating with the Firebase through the web APIs Password Authentication. Use the Firebase server SDK to generate custom authentication tokens, the token will be a JSON Web Token (JWT).14 Tem 2016

Read more

Why do we need refresh token?

So why does a web application need a refresh token? The main reason to use refresh tokens in web applications is to reduce the lifetime of an access token . When a web application obtains an access token with a lifetime of five to 10 minutes, that token will likely expire while the user is using the application.

Read more