TL;DR: You must obtain a HelseID access token that is DPoP-bound and use it on every request with a matching DPoP proof.

See the official Helse ID Documentation for details on how to implement your desired client flow.

Example project for Token exchange:

Example project for Machine-to-Machine approach

Note: Use this method only if token exchange is not posible.