Skip to content


Maskinporten is a service provided by DigDir that allows API providers to securely enforce server-to-server authorization of their exposed APIs using OAuth 2.0 JWT grants.

The NAIS platform provides support for declarative registration of Maskinporten resources. These cover two distinct use cases:

  • For API consumers
    • a client that your application may use to integrate with Maskinporten, and in turn consume services and APIs served by external agencies
  • For API providers
    • user-defined scopes within Maskinporten that are exposed to and consumable by other organizations that are granted access.

Last update: 2022-11-16
Created: 2021-08-13