简体   繁体   中英

Customize Login Page design for Authentication type : Individual User account ASP.NET core 2.1, MVC, c#

I'm trying to implement OAuth2.0 for my web application. I have done that following this link.

I have registered with 2 external providers Microsoft and Google. I have added Authentication in startup.cs file as well.

So when I run the application, click on Login button on top right corner, a Login page is displayed.The URL it is showing is https://localhost:44325/Identity/Account/Login .

But I'm unable to find this page anywhere in my solution. I want to modify this page's design and want to make this my first page as soon as I open the application.

在此处输入图片说明

How do I do it?

Edit

在此处输入图片说明

To low to comment so I'll post as an answer, follow the instructions at this answer .

For me I just right-clicked on the project, selected Add -> New Scaffold Item , picked Identity on the new dialog, in the left pane, and followed the prompts.

The login.cshtml pages were created in the Areas/Identity/Pages/Account directory.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM