Skip to content

Commit ca15d09

Browse files
authored
.Net 10 passkeys explanation (#637)
1 parent 2451de1 commit ca15d09

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,28 @@ To provide a developer friendly and well tested [.NET](https://dotnet.microsoft.
2525

2626
This project is part of the [.NET foundation](https://dotnetfoundation.org)
2727

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.
49+
2850
## Installation
2951

3052
**Requirements**: .NET 8.0 or later

0 commit comments

Comments
 (0)