Blazor WASM remote auth path option config#37012
Conversation
There was a problem hiding this comment.
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
RedirectToLogincomponent 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. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
| * 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.
There was a problem hiding this comment.
That's weird that it didn't show the correct line to change ☝️.
I'll edit it manually on the diff.
There was a problem hiding this comment.
Lick'd IT! 🐮 👅
Thanks for catching that! CoPilot didn't see it.
wadepickett
left a comment
There was a problem hiding this comment.
Approved. Looks good. See the typo fix I mentioned which was a mistake in the original legacy content. Line 4 in redirecttologin-component.md
Corrected wording for clarity regarding URL maintenance during redirection.
Fixes #37011
Wade, Tom ... Just need one review on this one to get it in.
RedirectToLogincomponent section.Internal previews