Himesh Patel

Results 13 comments of Himesh Patel

Hi Aseigler, Sorry for the late response. So decode of array below:- '{"type":"webauthn.create","challenge":"ztuB2Bt0h_t4sPpMraDctA","origin":"https://localhost:41111","crossOrigin":false,"other_keys_can_be_added_here":"do not compare clientDataJSON against a template. See https://goo.gl/yabPex"}' Thanks Himesh

I believe this is directly related to #380

Reading the various posts I believe the following should work. Again works locally but not on app service: @page "/" @using System.Text.Json; @using Fido2NetLib; Webauthn Recreate Issue Click me to...

Hi @joegoldman2 @Yomist I've prepared a repo https://github.com/s21-himesh/WebAuthnIssue I've pushed to an app service/ web app https://webauthnfido.azurewebsites.net/ so you can see the exception. Let me know, if you need anything...

Deployed to web app and the same result ` private readonly static FidoBlazorSerializerContext context = new FidoBlazorSerializerContext(); string jsonData = "{\"rp\":{\"id\":\"test.azurewebsites.net\",\"name\":\"WebAuthn\",\"icon\":\"https://test.azurewebsites.net/\"},\"user\":{\"name\":\"[email protected]\",\"id\":\"ZHJpdmVyQGRyaXZlci5jb20\",\"displayName\":\"[email protected]\"},\"challenge\":\"QHcEA7xeJRx3_SZV4uoFQQ\",\"pubKeyCredParams\":[{\"type\":\"public-key\",\"alg\":-7},{\"type\":\"public-key\",\"alg\":-257},{\"type\":\"public-key\",\"alg\":-37},{\"type\":\"public-key\",\"alg\":-35},{\"type\":\"public-key\",\"alg\":-258},{\"type\":\"public-key\",\"alg\":-38},{\"type\":\"public-key\",\"alg\":-36},{\"type\":\"public-key\",\"alg\":-259},{\"type\":\"public-key\",\"alg\":-39},{\"type\":\"public-key\",\"alg\":-8}],\"timeout\":60000,\"attestation\":\"direct\",\"authenticatorSelection\":{\"authenticatorAttachment\":\"platform\",\"requireResidentKey\":true,\"userVerification\":\"required\"},\"excludeCredentials\":[],\"extensions\":{\"uvm\":true},\"status\":\"ok\",\"errorMessage\":\"\"}"; string exception = string.Empty; private void test() { try...

@iamcarbon ideally not as we have a released prepared and this is the last outstanding issue. Is there any workaround for this? Can anyone explain why it works local vs...

@Regenhardt Hi Marlon, you appear to have the same error message I'm experiencing on this ticket [81709](https://github.com/dotnet/runtime/issues/81709). Can you assist with explaining how this can be resolved?

@Regenhardt gave that a try today. Can confirm the same result where it works locally but not in the cloud. To confirm I added BlazorWebAssembly and Fido2.Models to test the...

@Regenhardt loader is default when setting up a blazor wasm project in .net 7. I have committed to repo but think the loader is tucked away! I did see your...

For anyone else who hits this issue I've updated the repo available at https://github.com/s21-himesh/WebAuthnIssue with the work around.