Altinn / app-lib-dotnet

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

Authorization scenarios and mechanisms analysis #763

Open martinothamar opened 3 weeks ago

martinothamar commented 3 weeks ago

Description

We need to get an overview of common authorization scenarios and mechanisms that exist today and will be implemented into the platform. Here are some movements happening where there are questions related to authorization

In scope

No response

Out of scope

No response

Additional Information

No response

Analysis

User flow 1

Log into tt02 manually, then navigate to an app

JWT token claims:

{
  "nameid": "<int>",
  "urn:altinn:userid": "<int>",
  "urn:altinn:partyid": <int>,
  "urn:altinn:authenticatemethod": "IdportenTestId",
  "urn:altinn:authlevel": 3
}

Q:

Mechanisms for authorization accepted by apps APIs

Platform and Core APIs

Conclusion

No response