You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,28 @@ To provide a developer friendly and well tested [.NET](https://dotnet.microsoft.
25
25
26
26
This project is part of the [.NET foundation](https://dotnetfoundation.org)
27
27
28
+
## .NET 10 Passkeys vs this library?
29
+
30
+
Wondering if you should use what's in .NET 10 or this library? I've worked together with Microsoft on their passkey implementation and how it relates to this library, so I can share some perspective that may be aid in your decision:
31
+
32
+
- The passkey support announced Microsoft in .NET 10 **is only available as part of ASP.NET Identity**.
33
+
- Fido2-net-lib is a more capable implementation, and Microsoft recommends you to use this (or any other 3p library) if you want to use more advanced features like attestation. They built a plugin interface so you can combine this library with theirs.
34
+
- Since the passkey specification is evolving, I think using this library will give you access to new parts of the standard faster than using ASP.NET Identity.
35
+
36
+
**When picking Microsoft asp.net identity is a good idea:**
37
+
38
+
- You're using ASP.NET Identity and need passkeys.
39
+
- You don't want to use attestation or newer passkey features
40
+
41
+
**When picking this library is a good idea:**
42
+
43
+
- You don't want to be tied to using ASP.NET Identity
44
+
- You're building a SPA and doing auth without asp.net identity
45
+
- You want to use modern passkey features
46
+
- You want to use attestation (Could combine this library with the asp.net identity version)
47
+
48
+
I'm happy that Microsoft is finally joining the passkey train, but this library is probably still what you want to use unless you're running the vanilla asp.net Identity-stack. At least for the time beeing.
0 commit comments