Skip to content

Commit

Permalink
systemuser
Browse files Browse the repository at this point in the history
  • Loading branch information
mettok committed Dec 9, 2024
1 parent e95ce0b commit 7d889b0
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/main/kotlin/MaskinportenClientConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -77,18 +77,7 @@ class MaskinportenClientConfigPkey(
.issueTime(Date(currentTimestamp * 1000))
.expirationTime(Date((currentTimestamp + 60) * 1000))
.claim("scope", scope)
.claim(
"authorization_details",
listOf(
mapOf(
"type" to "urn:altinn:systemuser",
"systemuser_org" to mapOf(
"authority" to "iso6523-actorid-upis",
"ID" to "0192:$consumerOrgNr"
)
)
)
)
.claim("consumer_org", consumerOrgNr)
.jwtID(UUID.randomUUID().toString())
.build()

Expand Down

0 comments on commit 7d889b0

Please sign in to comment.