firebase auth get token code example
Example 1: firebase phone authentication web result doesnt have accessToken
firebase.auth().currentUser.getIdToken(/* forceRefresh */ true).then(function(idToken) { // Send token to your backend via HTTPS // ...}).catch(function(error) { // Handle error});
Example 2: getting firebase token
$ firebase token:ci