Altinn / app-lib-dotnet

Libraries used in Altinn Apps
BSD 3-Clause "New" or "Revised" License
9 stars 10 forks source link

Maskinporten integration for Studio and Apps to enable server-to-server communication #492

Open martinothamar opened 6 months ago

martinothamar commented 6 months ago

Description

More and more apps in Altinn 3 need server-to-server integration with other apps and services, and the primary mechanism for authn/authz is Maskinporten (the server-to-server variant of ID-porten).

It is possible to setup today, but is not straight forward and requires support and (too much) technical competence.

We want server-to-server integration in the Altinn (and adjacent) ecosystem to be seamless and simple for application developers.

In scope

Letting app developers easily create Maskinporten client/scopes to integrate with apps

Out of scope

No response

Additional Information

User stories

As [a user persona], I want [to perform this action] so that [I can accomplish this goal].

Acceptance criteria

Scenario: (explain scenario). Given (how things begin), when (action taken), then (outcome of taking action)

Non-functional

Prior work/inspiration

Docs:

Code:

Challenges and discussion

Architecture

Diagram: https://raw.githubusercontent.com/Altinn/altinn-k8s-operator/main/docs/maskinporten.drawio.svg

ADR

Per-app infrastructure provisioning: https://github.com/Altinn/architecture-decision-log/issues/8


Deployment

Plan?

Operational

Telemetry

SLIs

Tasks

martinothamar commented 3 months ago

Related ADR: https://github.com/Altinn/architecture-decision-log/issues/8