Skip to content

Align passkey guidance with the .NET 11 Blazor template - #37559

Open
rolandVi wants to merge 1 commit into
dotnet:mainfrom
rolandVi:fix-passkey-docs-template-drift-clean
Open

Align passkey guidance with the .NET 11 Blazor template#37559
rolandVi wants to merge 1 commit into
dotnet:mainfrom
rolandVi:fix-passkey-docs-template-drift-clean

Conversation

@rolandVi

@rolandVi rolandVi commented Aug 31, 2026

Copy link
Copy Markdown
Member

Documents dotnet/aspnetcore#65343, dotnet/aspnetcore#65752, dotnet/aspnetcore#67539 and dotnet/aspnetcore#67589.

The passkey articles had drifted from the Blazor Web App template, so a .NET 11 reader following them copies the .NET 10 flow.

Versioned JavaScript

The .NET 10 samples stay as they are. The .NET 11 versions drop the headers argument, which the template stopped sending in dotnet/aspnetcore#67589 when it moved to the fetch-metadata CSRF middleware. Those endpoints are still validated, just by the middleware instead of a token header, so nothing loses protection here.

The rest

Two things I left out on purpose: the creation options URL moving to /Account/Manage/, and PasskeyOperation gaining Reauthenticate. Both are .NET 12 only, and there's no aspnetcore-12.0 moniker yet, so gated content would render for nobody.

One fix outside the drift: the "locate the Blazor script tag" snippet was missing @Assets[...], which is wrong in every version.

Checked every sample against release/10.0, release/11.0 and main.


Internal previews

File Preview link
aspnetcore/security/authentication/passkeys/blazor.md Learn preview
aspnetcore/security/authentication/passkeys/index.md Learn preview

Build report

@guardrex
guardrex self-requested a review August 31, 2026 15:58
@guardrex guardrex self-assigned this Aug 31, 2026
@guardrex

Copy link
Copy Markdown
Collaborator

Thanks, @rolandVi ... Let me try and get back to you tomorrow (Tuesday). I'm ⛏️😅 at the moment on a doc overhaul.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants