Skip to content

How to prompt user for credentials? #269

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
boston2029 opened this issue Feb 7, 2022 · 0 comments
Open

How to prompt user for credentials? #269

boston2029 opened this issue Feb 7, 2022 · 0 comments

Comments

@boston2029
Copy link

manage.js has

const user = firebase.auth().currentUser;

// TODO(you): prompt the user to re-provide their sign-in credentials
const credential = promptForCredentials();

user.reauthenticateWithCredential(credential).then(() => {
  // User re-authenticated.
}).catch((error) => {
  // An error ocurred
  // ...
});

But what does it mean by prompt the user to re-provide credentials? Does it mean their email and password or...?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant