Skip to content

Blazor WASM remote auth path option config#37012

Merged
guardrex merged 5 commits intomainfrom
guardrex/blazor-remoteauthenticationapplicationpathsoptions
Apr 16, 2026
Merged

Blazor WASM remote auth path option config#37012
guardrex merged 5 commits intomainfrom
guardrex/blazor-remoteauthenticationapplicationpathsoptions

Conversation

@guardrex
Copy link
Copy Markdown
Collaborator

@guardrex guardrex commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses issue #37011 by consolidating guidance for customizing Blazor WebAssembly remote authentication route paths into a shared include and surfacing it consistently across the relevant standalone and hosted-auth articles.

Changes:

  • Adds a new “Remote authentication paths” section to several Blazor WebAssembly security articles and includes centralized guidance.
  • Introduces a new shared include (remote-authentication-paths.md) describing how to customize and consume configured authentication paths.
  • Removes the prior path-customization guidance from the RedirectToLogin component include to avoid duplication and narrow that section’s scope.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
aspnetcore/blazor/security/webassembly/standalone-with-microsoft-entra-id.md Adds a new “Remote authentication paths” section referencing the shared include.
aspnetcore/blazor/security/webassembly/standalone-with-microsoft-accounts.md Adds the new section referencing the shared include (plus a minor spacing change).
aspnetcore/blazor/security/webassembly/standalone-with-azure-active-directory-b2c.md Adds the new section referencing the shared include.
aspnetcore/blazor/security/webassembly/standalone-with-authentication-library.md Adds the new section referencing the shared include.
aspnetcore/blazor/security/webassembly/hosted-with-microsoft-entra-id.md Adds the new section (scoped to Client app) referencing the shared include.
aspnetcore/blazor/security/webassembly/hosted-with-identity-server.md Adds the new section (scoped to Client app) referencing the shared include.
aspnetcore/blazor/security/webassembly/hosted-with-azure-active-directory-b2c.md Adds the new section (scoped to Client app) referencing the shared include.
aspnetcore/blazor/security/includes/remote-authentication-paths.md New include centralizing guidance for configuring/consuming remote auth paths.
aspnetcore/blazor/security/includes/redirecttologin-component.md Removes path-customization guidance now covered by the new include.

Comment thread aspnetcore/blazor/security/includes/remote-authentication-paths.md
Comment thread aspnetcore/blazor/security/includes/remote-authentication-paths.md Outdated
Comment thread aspnetcore/blazor/security/includes/remote-authentication-paths.md Outdated
guardrex and others added 2 commits April 15, 2026 19:04
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@wadepickett wadepickett Apr 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* The current URL that the user is attempting to access is maintained so that they can be returned to that page if authentication is successful using:

Typo fix.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's weird that it didn't show the correct line to change ☝️.

I'll edit it manually on the diff.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lick'd IT! 🐮 👅

Thanks for catching that! CoPilot didn't see it.

Copy link
Copy Markdown
Contributor

@wadepickett wadepickett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. Looks good. See the typo fix I mentioned which was a mistake in the original legacy content. Line 4 in redirecttologin-component.md

@guardrex guardrex removed the request for review from tdykstra April 16, 2026 23:39
Corrected wording for clarity regarding URL maintenance during redirection.
@guardrex guardrex merged commit e4863ac into main Apr 16, 2026
4 checks passed
@guardrex guardrex deleted the guardrex/blazor-remoteauthenticationapplicationpathsoptions branch April 16, 2026 23:48
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.

Provide more info on RemoteAuthenticationApplicationPathsOptions paths

3 participants