Request used to update user profile information.
const update = { displayName: 'Alias', photoURL: 'https://my-cdn.com/assets/user/123.png',};await firebase.auth().currentUser.updateProfile(update); Copy
const update = { displayName: 'Alias', photoURL: 'https://my-cdn.com/assets/user/123.png',};await firebase.auth().currentUser.updateProfile(update);
Optional
An optional display name for the user. Explicitly pass null to clear the displayName.
An optional photo URL for the user. Explicitly pass null to clear the photoURL.
Request used to update user profile information.
Example