Authentication with enterprise users
Description how to use enterprise users in Altinn 3
On this page:
Enterprise users is a concept where you can use a enterprise certificate in combination with a username and password.
Enterprise users must be assigned roles and / or rights from the organization to which they belong, but the user can then use these the rights in machine to machine communication with Altinn without that someone in the business needs to be involved in authorization.
Enterprise users in Altinn 3
Enterprise users in Altinn 3 can be used via regular business user login on Altinn.no with a certificate stored in a browser but is most relevant in connection with API use.
This is done in a 2 step process. First you authenticate the organization using Maskinporten and than you add username and password together
the machine port for the actual authentication of the certificate, as well as an exchange of the machine port token together with the username and password.
Administration of Enterprise users is documented here.
Login and exchange of tokens are documents here here
Postman example can be found here.
Further use against the Altinn App API and Platform API is similar to having an Altinn token based on an ID port session.