We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc80d67 commit 5937c9cCopy full SHA for 5937c9c
.nais/app.yaml
@@ -27,7 +27,6 @@ spec:
27
consumes:
28
- name: "altinn:authentication/systemregister.write"
29
- name: "altinn:authentication/systemuser.request.write"
30
- - name: "altinn:events.subscribe"
31
- name: "nav:helse/im.read"
32
33
accessPolicy:
lps-client-backend/src/main/kotlin/no/nav/helsearbeidsgiver/plugins/SystemBrukerRouting.kt
@@ -38,6 +38,8 @@ private fun Routing.hentSystembruker(maskinportenService: MaskinportenService) {
38
HttpStatusCode.BadRequest,
39
"Missing 'orgnr' parameter",
40
)
41
+ val scopes =
42
+ parameters["scopes"] ?: "nav:helse/im.read"
43
44
try {
45
val systemBrukerClaim =
0 commit comments