Features
- Added support for phone number authentication using the following APIs:
- Augmented the IdP data (for a list of all supported fields see
firebase.auth.UserCredential
) returned by the following APIs: - Added the
firebase.auth.Auth.prototype.onIdTokenChanged
method that triggers on ID token changes.
Breaking Changes
firebase.auth.Auth.prototype.onAuthStateChanged
now triggers on sign in and sign out.firebase.User.prototype.reauthenticate
has been removed in favor offirebase.User.prototype.reauthenticateWithCredential
.firebase.User.prototype.link
has been removed in favor offirebase.User.prototype.linkWithCredential
.firebase.AuthCredential.prototype.provider
has been removed in favor offirebase.AuthCredential.prototype.providerId
.
Deprecations
- Removed support for deprecated
serviceAccount
andcredential
properties from the Node.js SDK. If you were previously using the Firebase Javascript SDK to use these properties, use the Firebase Admin Node.js SDK instead. - Deprecated
firebase.User.prototype.getToken
in favor offirebase.User.prototype.getIdToken
.
Fixes
- Fixed an issue where
firebase.User.prototype.updateProfile
was not triggering an update in password provider data.