passwordless-lib / fido2-net-lib

FIDO2 .NET library for FIDO2 / WebAuthn Attestation and Assertion using .NET
https://fido2-net-lib.passwordless.dev/
MIT License
1.17k stars 168 forks source link

Missing nuget for 4.0.0-beta3 release #445

Open gilliganc opened 1 year ago

gilliganc commented 1 year ago

In the release above the following was added: Feature/blazor wasm by @Regenhardt in https://github.com/passwordless-lib/fido2-net-lib/pull/379 Looking at the demo for this in master it seems that the contents of Src/Fido2.BlazorWebAssembly should have been published as a new nuget package or maybe added to one of the existing nugets but that does not seem to be the case currently on nuget.org

You can see the BlazorWasmDemo clients project references it at BlazorWasmDemo/Client/BlazorWasmDemo.Client.csproj and copying the relevent code from the demo and using just the nugets available was not able to find the dependancies needed in the code. I was using the 4.0.0-beta3 nuget packages that were available on nuget.

gilliganc commented 1 year ago

It could also be that main seems to be at [4.0.0-beta4] but that does not look to be published so that may be why the demo in main does not work with the published pre-release nuget packages

gilliganc commented 1 year ago

@Regenhardt I am not sure if you cna provide any guidance here as i beleive this is your changes to add the blazor support

Regenhardt commented 1 year ago

The Fido2.BlazorWebAssembly has the models you need, and it is indeed not published as a nuget package, not sure what is needed for that. @abergs what do we need for that? Should I add a .nuspec or something? I never made a nuget package before.

abergs commented 1 year ago

Hey, this is on my radar but I'll be transparent and say that it's not my top priority. For now @gilliganc I think I'd recommend you to use the source if your building a blazor app.

gilliganc commented 1 year ago

Will do.