Skip to content

FIDO_ERR_NO_CREDENTIALS when doing fido_dev_get_assert #721

Answered by LDVG
VedaviBalaji asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

The most probable explanation I can think of is that the RP ID does not match what was used when the key was registered. An alternative is that you're passing the wrong Credential ID.

Depending on how the authenticator was registered, you may have to deal with the appid extension. Note that libfido2 does not have internal support for the appid extension, the client (your application) must handle it themselves 1, see the client processing steps in the WebAuthn specification. In a nutshell, it essentially boils down to retrying the assertion with the AppID given to fido_assert_set_rp() as the id argument.

Footnotes

  1. However, do note the currently unreleased workaround for the windows:/…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@VedaviBalaji
Comment options

@LDVG
Comment options

Answer selected by VedaviBalaji
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants