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

Example with Blazor and Google authentication

Open jkone27 opened this issue 2 years ago • 4 comments

Could you provide a toy/example app with Blazor aspnetcore app and google authentication?

jkone27 avatar Nov 07 '22 17:11 jkone27

Good idea. When I have time I hope to get around to improve examples and a blazor one is certainly on my todo.

abergs avatar Nov 07 '22 20:11 abergs

I'm actually working on using this in Blazor WASM right now, maybe I can make a PR once I have it actually functional.

Regenhardt avatar Jan 24 '23 22:01 Regenhardt

Appreciated @Regenhardt

abergs avatar Jan 25 '23 11:01 abergs

The Blazor WASM part of this issue is included in #379.

Not sure about google authentication, I feel like that is out of scope for this library as the point is that google provides the authentication and, if I understand those concepts correctly, FIDO is for authentication ("Who are you?", check via password/biometrics/SMS/E-Mail), not authorization ("What are you allowed to do?", checked via JWT or other tokens).
The google part is however covered in other places already, like https://code-maze.com/google-authentication-in-blazor-webassembly-hosted-applications/, which you could try to reimplement.

Regenhardt avatar Feb 17 '23 11:02 Regenhardt