Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

onstatechange firebase cant get stsTokenManager

firebase.auth().onAuthStateChanged(function(user) {
  if (user) {
    user.getIdToken().then(function(idToken) {
      console.log(idToken);
    });
  }
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #onstatechange #firebase #stsTokenManager
ADD COMMENT
Topic
Name
7+6 =