Open kspearrin opened 7 years ago
Looks like this question on SO is having the same problem: https://stackoverflow.com/questions/33610042/u2f-integration-with-multiple-facetids-without-chrome-extension-but-u2f-api-js
One of the answers suggests:
I guess you have different origins in your appId json, the origin of facetID must be the same as AppID, for example: all facetID in https://example.com/app-id.json must have the same origin of https://*.example.com
so in your case your trustFaceID should all belong to https://localhost:44300
Is this the case? I do not see that mentioned anywhere in the spec, however, the examples shown in the spec do follow that logic.
@kspearrin Add your localhost CA cert into the browser
@kspearrin Do you have solved this issue? I have the same problem with you.
Using Chrome 59.0.3071.109. No extension.
Navigating to https://localhost:44377/app-id.json resolves the following JSON:
Content-type is set to
application/fido.trusted-apps+json
Screenshot:
My website invoking this is at
https://localhost:4001/...
Code:
I am using the latest (as of today) api from https://github.com/google/u2f-ref-code/blob/master/u2f-gae-demo/war/js/u2f-api.js
Any ideas?