Blazor: Authentication

Create IDP Project

Start by creating a new IdentityServer project that will use ASP.NET Core Identity:

API Access


ASP.NET Core Identity adds user interface (UI) login functionality to ASP.NET Core web apps. To secure web APIs and SPAs, use one of the following:

IdentityServer4 is an OpenID Connect and OAuth 2.0 framework for ASP.NET Core. IdentityServer4 enables the following security features:

Set-Up Steps Identity Server 4

“DefaultConnection”: “Server=DESKTOP-GFG8N3L\\SQLEXPRESS;Initial Catalog=ThreeCSecuredDb;Trusted_Connection=True;MultipleActiveResultSets=true”

ASP.NET Core Identity:

Users can create an account with the login information stored in Identity or they can use an external login provider. Supported external login providers include Facebook, Google, Microsoft Account, and Twitter.

Create a Web app with authentication



Software Architect, Author, Trainer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store