Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

How to prompt user for credentials? #269

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...?

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

No branches or pull requests

1 participant