Add Authentication to Asp.net Core project

Asked

Viewed 997 times

3

I created an Asp.Net Core MVC project without authentication.

With the project already underway, I need to add the authentication part and I wanted to be able to automatically generate all the files that would have been generated if I had put "Individual User Authentication" in the project creation.

How do I change the authentication from "No Authentication" to "Individual User Authentication" and generate these files after the project is created?

  • 1

    Exite o Identityserver, I talked about it and uploaded some examples https://github.com/joaomello/talks/tree/master/meetup

1 answer

-1

You will have to use the Identity framework for this, and create the screens and classes of it manually.

Here’s a Link for the official documentation (in English) of how to do this.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.