April 2018
Intermediate to advanced
284 pages
6h 43m
English
Manage the session for the user and give the prompt to reauthenticate, because every time when the user logged in, user credentials are sent to the Firebase Authentication backend and exchanged for a Firebase ID token (a JWT) and refresh token.
These are the common scenarios where we need to manage the session of the user:
The Firebase Admin SDK also gives the ability to revoke the specific user session using the revokeRefreshToken() method. It revokes active refresh tokens of a given user. If we reset the password, Firebase Authentication backend automatically revokes the user token.
The following rule must be configured when any data requires ...