Create a page for a user re-authentication.
For security-sensitive tasks such as deleting accounts, setting a primary email address, and changing your password, you must have recently signed in. When doing this, if the user logged in too long ago, the operation will fail with an error. In this case, the new login credentials for reauthenticateWithCredential the user must be retrieved and passed on to reauthenticate the user.
Objective
Create a page for a user re-authentication. For security-sensitive tasks such as deleting accounts, setting a primary email address, and changing your password, you must have recently signed in. When doing this, if the user logged in too long ago, the operation will fail with an error. In this case, the new login credentials for
reauthenticateWithCredential
the user must be retrieved and passed on to reauthenticate the user.