Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[10.0.1xx-preview6] Add passkeys to ASP.NET Core Identity #1237

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 20, 2025

Conversation

MackinnonBuck
Copy link
Member

@MackinnonBuck MackinnonBuck commented Jun 18, 2025

Note: Opening this PR in the VMR because it depends on runtime changes that haven't flown through to dotnet/aspnetcore

Backport of dotnet/aspnetcore#62112

Add passkeys to ASP.NET Core Identity

Adds support for passkey authentication in ASP.NET Core Identity and updates the Blazor Web App template with passkey management and login functionality.

Description

Passkeys are a modern, phishing-resistant authentication method based on the WebAuthn and FIDO2 standards. They provide a significant security improvement over traditional passwords by relying on public key cryptography and device-based authentication. In addition to enhancing security, passkeys offer a more seamless and user-friendly sign-in experience.

There is growing industry momentum behind passkeys as a replacement for passwords. Major platforms and browsers have adopted support, and user expectations are shifting accordingly. Customers building web applications with ASP.NET Core have expressed very strong interest in out-of-the-box support for passkey-based authentication (#53467).

To address this, this PR adds passkey support to the Blazor Web App project template and first-class support for passkeys in ASP.NET Core Identity. Since this is a large and highly-requested feature, it's important to get customer feedback early enough to make follow-ups in subsequent preview releases.

Fixes dotnet/aspnetcore#53467

Customer Impact

New projects created using the Blazor Web App template with authentication enabled will support passkey management and authentication out of the box. Customers can also make use of new Identity APIs enabling passkey management and authentication in existing apps.

Regression?

  • Yes
  • No

Not applicable, as this is a new feature.

Risk

  • High
  • Medium
  • Low

The changes are primarily additive in nature and don't alter existing functionality, with the exception of the project template changes. The changes to the Identity store schema only apply when explicitly opted-in to by setting IdentityOptions.Stores.SchemaVersion to IdentitySchemaVersions.Version3, meaning existing apps don't need to perform a migration in order to use the latest Identity version.

Verification

  • Manual (required)
  • Automated

Packaging changes reviewed?

  • Yes
  • No
  • N/A

@MackinnonBuck
Copy link
Member Author

Marking as "no merge" until tactics approval.

@MackinnonBuck MackinnonBuck added the NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) label Jun 18, 2025
src/aspnetcore/eng/Version.Details.xml Show resolved Hide resolved
@MackinnonBuck
Copy link
Member Author

MackinnonBuck commented Jun 19, 2025

Approved in tactics.

Leaving as "no merge", as I manually confirmed that this PR is affected by the regression described in dotnet/runtime#116801.

@MackinnonBuck MackinnonBuck removed the NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) label Jun 20, 2025
@MackinnonBuck MackinnonBuck merged commit 2496806 into release/10.0.1xx-preview6 Jun 20, 2025
10 checks passed
@MackinnonBuck MackinnonBuck deleted the mbuck/passkeys-preview6 branch June 20, 2025 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.