Test application setup for use with MySql.Data.EntityFrameworkCore, ASP.NET Identity and IdentityServer4
Visual Studio for the Mac does not include the project templates to allow for authentication using Individual User Accounts. To create a solution / project from scratch, you need to use the Terminal command:
dotnet new mvc --auth Individual
Important step to configuring ASP.NET Identity, IdentityServer4, MySQL is to create the migrations as outlined here:
IdentityServer4 and Entity Framework
The two migration steps are about halfway down the page.
dotnet ef migrations add InitialIdentityServerPersistedGrantDbMigration -c PersistedGrantDbContext -o Data/Migrations/IdentityServer/PersistedGrantDb
dotnet ef migrations add InitialIdentityServerConfigurationDbMigration -c ConfigurationDbContext -o Data/Migrations/IdentityServer/ConfigurationDb