Consent
The Altinn consent functionality is a technical solution for sharing data from a service owner to a data consumer based on the consent of the individual or organisation the information concerns.

Depending on the purpose and content of the consent, it can give the service owner both the necessary legal basis for sharing data in line with the Personal Data Act/GDPR and consent for, for example, lifting statutory confidentiality.
What do you get with consent in Altinn 3?
- An end-to-end consent process where Altinn manages the dialogue between end user, data consumer, and service owner.
- A single Maskinporten consent token that contains everything you need to validate and log the delegation.
- An improved end-user experience with an upgraded consent screen and clearer information flow.
- Flexible support for third-party vendors that can administer consent on behalf of the data consumer.
- Built-in controls for access lists, duration, and revocation so users and service owners stay in control of shared data.
What’s new in Altinn 3?
The consent process in Altinn 2 works well, so we have aimed to change it as little as possible to keep the transition to Altinn 3 simple. To make the experience even smoother for everyone involved, we have still introduced some improvements.
- Simplified token handling: Only one Maskinporten token is used, containing all the information about the consent.
- New token format: API providers must update their validation code to interpret the new format. The format is described in the guides for both service owners and data consumers.
- Improved user experience: End users meet an upgraded and more user-friendly interface.
- Support for vendors: Option to use third-party vendors to manage the consent process.
How the consent process works
Actors
End user Individual or organisation that grants consent.
Data consumer Organisation (e.g. a bank) that requests access to data.
Service owner (Data source) Public entity that owns the data. [

Process flow
- The end user starts a service where the data consumer needs to fetch data from a public service → initiates the consent flow.
- The data consumer sends a consent request to Altinn.
- Altinn returns a
redirect_url→ the user is sent there to approve. - The user authenticates and grants consent (delegation).
- The data consumer retrieves the consent token (
consent_id). - The data consumer uses the token to fetch data from the service owner (data source).
Technical requirements
Enterprise authentication
Data consumers must authenticate via Maskinporten with the correct scopes.
To use consent, the data consumer needs the following tokens:
- altinn:consentrequests.read
- altinn:consentrequests.write
In addition to this, each individual service owner must grant the necessary tokens for their service. The service owner is responsible for documenting the necessary tokens for their service, as well as how the data consumer can be granted these.
Access lists
Service owners can control which organisations are allowed to use the service with access lists.
Validity
Consents must have a defined duration.
Revocation
The user can withdraw consent at any time in the Altinn portal.
Use of Suppliers
For data consumers, it is possible to use suppliers (third-party actors) to create consent requests and retrieve data on behalf of the data consumer.
Requirements for using a supplier:
- Scope
altinn:consentrequests.writemust be delegated to the supplier. - The scope for the relevant API must also be delegated to the supplier (e.g., skatteetaten:inntekt).
- The supplier creates the request on behalf of the data consumer.
- The user retrieves the consent token and calls the API to fetch data.
Note: End users receive information in the GUI that the consent is handled by a supplier.
The EBevis Solution
For Digdir’s EBevis solution, Digdir can request consent on behalf of the data consumer without the scope being delegated to Digdir. This makes it possible for actors such as municipalities to use the solution without having a complete setup in Maskinporten.
The EBevis solution has its own scope that allows the creation of consent requests for all organizations for their resources.
Getting started
Read the specific steps you need to complete under Getting Started