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

Response Object doesn't contain "type" #11

Open
Mazecreator opened this issue Mar 10, 2020 · 0 comments
Open

Response Object doesn't contain "type" #11

Mazecreator opened this issue Mar 10, 2020 · 0 comments

Comments

@Mazecreator
Copy link

Mazecreator commented Mar 10, 2020

Hi,

I am working on building a test system, both a FIDO2 server and front end and leveraged your code. I am using this as the FIDO backend:
https://github.com/web-auth/webauthn-framework

I was not too familiar with how server and client interacted, but while building up the "attestation" side of the server to connect with your front end, I kept getting an error code back of "type" missing from the response object. I patched the code with a few lines similar to this:
this.type = coerceToBase64Url("public-key", "type");

The server now responds properly, I can't say this is valid for all aspects of the FIDO2 standard. I am not too familiar with the fine detail yet (one of the reasons I am building the test server).

Here is the link to debugging on the server side that has more information:
web-auth/webauthn-framework#121

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