Skip to content
.NET Core 2.2 MVC Website integrated with ServiceStack using MVC Identity Auth
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


.NET Core 2.2 MVC Website integrated with ServiceStack using ASP.NET Identity Auth


Browse source code and install with the web dotnet tool:

$ dotnet tool install -g web

$ web new mvcidentity ProjectName

Database Setup

To create the User and Auth tables you will need access to SQL Server instance then change the "DefaultConnection" connection string in appsettings.json then you can run the ef .NET Core tool:

$ dotnet ef migrations add Create{ProjectName}IdentitySchema
$ dotnet ef database update

If needed, you can re-create your DB schema after modifying your custom ApplicationUser class with additional info you want to store on each user, by deleting the __EFMigrationHistory and all AspNet* tables, deleting the Migrations folder in your host projects and re-running the above commands.

OAuth Setup

Replace the oauth.* App settings with your own in appsettings.Development.json for local development and appsettings.json for production deployments.

You can’t perform that action at this time.