The Fhi.HelseId component is a package handling authentication and authorization access to NHN HelseId. It can be used on Clients and APIs.
The component encapsulates the access logic, so all you need to do is to enable this in the startup class of your web app or web api.
It also contains calls to the HPR register, so that you can use a health persons categories for role control.
All features of the components can be controlled using featureflags from your configuration, either hardcoded or loaded from your appsettings.json.
The component uses the "Backend for Frontend" pattern, based off an Authorization Code flow, for details see here
The component requires minimum .NET Core app 3.1.
You need to order access to HelseId. For test contact here, and prod production contact here.