This is the implementation of Duende IdentityServer in ASP.NET Core app with ASP.NET Core Identity to provide authentication and authorization features. The complete tutorial is provided at - Implement Duende IdentityServer.
- ASP.NET Core 8.0 version.
- Server – ASP.NET Core app + Identity + Duende IdentityServer
- ASP.NET Core Identity integration process
- Duende IdentityServer integration process
- Client – ASP.NET Core app with secured resource
- Configure OpenID Connect (OIDC)
- Showing the user login status
- Testing the Duende Identity Server apps
- Simply Download the repository. You will get 2 projects - Server and Client.
- In the Server app perform migrations.
add-migration Migration1
Update-Database
- From the Server app create a new Identity User.
- Now run the Client App. Click the "Secure" link. You will be rediected to Duende IdentityServer for login. Perform login and access this page.
If any confusion see the tutorial whose link is provided at the top.
Don't forget to view the connection string of Identity Database given on appsettings.json
file on "Server" app.
Here we can register a new Identity User.
Let's test the full working.
In the secure page you will see the claims of the Logged in user.
Your support of every $5 will be a great reward for me to carry on my work. Thank you !