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

Firefox returning "TypeError: CredentialsContainer.get: Missing required 'challenge' member of PublicKeyCredentialRequestOptions." #12

Open
raji1908 opened this issue Oct 29, 2021 · 0 comments

Comments

@raji1908
Copy link

I have below code where I am trying to retrieve the stored username and password on the site. This works completely alright in Chrome popping up options for me to select from the list of credentials but fire fox returns "TypeError: CredentialsContainer.get: Missing required 'challenge' member of PublicKeyCredentialRequestOptions." when I am not even requesting for the public-key signature.

const param: CredentialRequestOptions = {
password: true,
mediation: 'required',
};
navigator.credentials.get(param);

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