Get started as a service owner
Find the right guidance for protecting services, granting access and supporting systems that use Altinn Authorization
Choose the task that most closely matches what you need to achieve. Each journey explains the intended result and the guidance to follow.
The service owner is responsible for the resource, the rules and the final access check. A system vendor may implement the integration, but the service owner must decide who may do what.
Protect an external service or API
Use this when: A service outside Altinn will use Altinn Authorization to decide whether an individual or system has access.
You will achieve: A registered resource and policy, an API that requests a PDP decision and enforcement that grants access only for an explicit Permit.
- Set up access to Resource Administration.
- Create and publish the resource and policy.
- Integrate the service with Authorized Parties and the PDP.
- Choose ID-porten or Maskinporten for authentication.
- Check status and limitations before production.
Your API is the Policy Enforcement Point (PEP). It must reject Deny and NotApplicable, and treat Indeterminate or a missing response as a technical failure. Technical failures must never grant access.
Make an API available to system users
Use this when: A system will call the API without a signed-in person, and an organisation must approve the access granted to the system.
You will achieve: A resource that can be included in a system registration, a policy that supports system users and an API that verifies the system user token.
- Read what service owners must provide for system users.
- Create or update the resource.
- Decide whether the system will act for its own organisation or for clients.
- Agree the access packages, actions and Maskinporten scopes with the system vendor.
- Test the wrong organisation, system user or client, and missing access.
A valid Maskinporten token does not by itself grant every operation. The API must still check the resource, action and affected party.
Allow organisations to delegate access to the service
Use this when: An organisation must be able to give an employee, another individual or a supplier access to the service.
You will achieve: The service is included in an access package that describes a recognisable task, and the policy uses the package for the relevant actions.
- Find an access package that matches the task.
- See how roles from the Central Coordinating Register may pre-assign packages.
- Map the policy actions to the package.
- Test direct assignment, pre-assignment and missing access.
- Contact the service desk if no existing package covers the need.
Choose the package based on the task rather than the name of a job or system.
Restrict access to selected organisations
Use this when: The service is limited to a defined group of organisations.
You will achieve: An access list maintained by the service owner and a rule that requires the organisation to be on the list.
- See when access lists are suitable.
- Manage access lists in Resource Administration.
- Manage access lists through the API.
An access list does not replace authentication or other rules. Test organisations both on and off the list.
Share specific data with consent
Use this when: An individual or organisation must approve that a particular recipient may retrieve limited data for a stated purpose.
You will achieve: A consent resource, a consent request and an API that verifies the consent token before sharing data.
- Get an overview of consent for service owners.
- Create and publish the consent resource.
- Agree the purpose, duration and data model with the data consumer.
- Verify the consent token before sharing data.
Do not use consent as a general or permanent power of attorney.
Support representation for a signed-in user
Use this when: A user must choose the individual or organisation concerned by an action, or act as a guardian or other representative.
You will achieve: A clear party selector and a final access check for the selected party, resource and action.
- Use Authorized Parties to find candidate parties.
- Do not use the party list as the final access check.
- Integrate with Authorized Parties and the PDP.
- Read what the service must consider for guardianship.
Before production
Verify that the resource and policy are published in the correct environment, expected and denied access are tested, and withdrawn access takes effect. Logs must support troubleshooting without complete tokens or unnecessary personal data.