https://doumer.me/migrating-old-asp-net-authentication-to-asp-net-core-identity-with-openid-connect/
Migrating Old Asp.net Authentication to Asp.net core Identity with OpenId Connect