fido2-net-lib icon indicating copy to clipboard operation
fido2-net-lib copied to clipboard

Seems like the latest change has broken the demo project.

Open bgirts opened this issue 1 year ago • 4 comments

Hi!

image

The registration js file still relies on "ok" status, thus demo project is broken.

image

Probably changing to this should fix the issue, at least quick local change seems to work for me.

image

Error details

image image image

bgirts avatar Jul 29 '24 09:07 bgirts

Agreed, demo is currently a bit out of sync with the API.

abergs avatar Jul 30 '24 08:07 abergs

Agreed, fix on this PR @abergs @bgirts https://github.com/passwordless-lib/fido2-net-lib/pull/535

yagiz-aydin avatar Jul 31 '24 12:07 yagiz-aydin

I just tried to run this and found that there is no 'Status' field in the data. Looking at the js, status refers to the status code from the API and only the data is taken from the response.

andrew-armitage avatar Aug 02 '24 16:08 andrew-armitage

@andrew-armitage Yes, a fix is incoming.

abergs avatar Aug 03 '24 07:08 abergs