Some OAuth providers enable you to reuse the authentication of an OIDC provider. If you trust that OIDC provider, have only simply requirements, then it can save your application from managing it's own user database. The NHS Digital API Platform has a similar option, and this example walks through how to integrate with it using the standard Microsoft ASP.NET Core libraries.
See - full example workthrough here: Medium - Example: Web Client & Server App Authenticating with NHS Digital Identity via OAuth
This project was created with Visual Studio 2019, and is an ASP.NET Core 3 Web Application.
You will also need to have an account with NHS Digital API Platform
This sample can be run locally, as long as it can reach the NHS Digital API Platform
- Visual Studio 2019 - ASP.NET Core 3 and Razor pages
This is just code brought together to help others get started quickly, nothing unique. Licensed under Zero-Clause BSD - see LICENSE.md
- There are many good articles, but the demo was mostly put together from Microsoft documentation
- Billie Thompson - README template - PurpleBooth