dotnet / aspnetcore

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
https://asp.net
MIT License
35.48k stars 10.04k forks source link

Blazor Identity Account/RegistrationConfirmation Wrong Tutorial Link #58092

Open salmanhaider14 opened 1 month ago

salmanhaider14 commented 1 month ago

Is there an existing issue for this?

Describe the bug

When you create a new Blazor project using Blazor Web App template in Visual studio and select Individual Accounts for authentication you get a lot of Identity pages in Components/Account . One of those pages is Register Confirmation. By default there's no Email Provider is configured with the Identity so this page shows a link where you can learn how to configure the Email Provider. However that link redirects you to this page which is for general Identity Email Configuration and not for Blazor specifically as Blazor Project is different from a general AspNetCore project.

Expected Behavior

Instead of taking the user to the general Identity Account Confirmation and Password Recovery page, the RegisterConfirmation component should've the link to this page which is specifically for Blazor like how to configure the Email Provider properly with the Blazor.

Steps To Reproduce

There you'll find the link which I'm talking about.

Exceptions (if any)

No response

.NET Version

8.0

Anything else?

Visual Studio Community 2022

halter73 commented 1 month ago

There's this at the top of the document, is that what you were looking for?

For Blazor guidance, which adds to or supersedes the guidance in this article, see Account confirmation and password recovery in ASP.NET Core Blazor.

salmanhaider14 commented 1 month ago

@halter73 Hi there! Thanks for the reply. Yeah there's that section on the top, but since this component is part of the Blazor project template so I think it should point the user specifically to the Blazor guides. What do you think ?