Dialog Tokens
Learn how dialog tokens can be used to simplify authorization and enable higher confidentiality
Introduction
A dialog token is a signed JSON Web Token (JWT) issued by Dialogporten that contains information about the authenticated user or organization, the selected actor, the dialog identifier, the date, and other details.
The dialog token enables a simpler authorization flow for both end-user systems and service providers, as it embeds the authorization decisions made by Altinn Authorization based on the ID-porten or Maskinporten identity used to authenticate the user. Relying on this token means service provider systems do not have to make requests back to Altinn Authorization in order to authorize requests, but can instead rely on the information in the dialog token submitted by the end-user system. This reduces latency and enables better performance.
Front channel embeds and write actions
The dialog token also enables front channel embeds and write actions, which are point-to-point interactions between the end user’s device or system and the service provider systems, avoiding the need for intermediaries to handle data transfers.
Security and trust
Dialogporten issues bearer tokens as JWTs (JSON Web Tokens) signed using state-of-the-art cryptography standards. The public key material used to verify tokens issued by Dialogporten is published at a standard HTTPS location, allowing for automatic configuration using most well-established cryptography application libraries.
Read more