Skip to content

Commit d416cdc

Browse files
authored
chore(WebAPI/GraphQl): Add missing authorized parties scope (#672)
1 parent 050ccbb commit d416cdc

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

src/Digdir.Domain.Dialogporten.GraphQL/appsettings.Development.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"ClientId": "TODO: Add to local secrets",
2222

2323
// 3. Scope(s) requested, space seperated. Must be provisioned on supplied client id.
24-
"Scope": "altinn:events.publish altinn:events.publish.admin altinn:register/partylookup.admin altinn:authorization:pdp",
24+
"Scope": "altinn:events.publish altinn:events.publish.admin altinn:register/partylookup.admin altinn:authorization:pdp altinn:resourceowner/authorizedparties.admin",
2525

2626
// --------------------------
2727
// Any additional settings are specific for the selected client definition type.

src/Digdir.Domain.Dialogporten.GraphQL/appsettings.test.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
// 2. Client Id/integration as configured in Maskinporten
2020
"ClientId": "TODO: Add to local secrets",
2121
// 3. Scope(s) requested, space seperated. Must be provisioned on supplied client id.
22-
"Scope": "altinn:events.publish altinn:events.publish.admin altinn:register/partylookup.admin altinn:authorization:pdp",
22+
"Scope": "altinn:events.publish altinn:events.publish.admin altinn:register/partylookup.admin altinn:authorization:pdp altinn:resourceowner/authorizedparties.admin",
2323
// --------------------------
2424
// Any additional settings are specific for the selected client definition type.
2525
// See below for examples using other types.
@@ -70,4 +70,4 @@
7070
]
7171
}
7272
}
73-
}
73+
}

src/Digdir.Domain.Dialogporten.WebApi/appsettings.Development.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"ClientId": "TODO: Add to local secrets",
2222

2323
// 3. Scope(s) requested, space seperated. Must be provisioned on supplied client id.
24-
"Scope": "altinn:events.publish altinn:events.publish.admin altinn:register/partylookup.admin altinn:authorization:pdp",
24+
"Scope": "altinn:events.publish altinn:events.publish.admin altinn:register/partylookup.admin altinn:authorization:pdp altinn:resourceowner/authorizedparties.admin",
2525

2626
// --------------------------
2727
// Any additional settings are specific for the selected client definition type.

src/Digdir.Domain.Dialogporten.WebApi/appsettings.staging.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
"ClientId": "TODO: Add to local secrets",
2222

2323
// 3. Scope(s) requested, space seperated. Must be provisioned on supplied client id.
24-
"Scope": "altinn:events.publish altinn:events.publish.admin altinn:register/partylookup.admin altinn:authorization:pdp",
24+
"Scope": "altinn:events.publish altinn:events.publish.admin altinn:register/partylookup.admin altinn:authorization:pdp altinn:resourceowner/authorizedparties.admin",
2525

2626
// --------------------------
27-
// Any additional settings are specific for the selected client definition type.
27+
// Any additional settings are specific for the selected client definition type.
2828
// See below for examples using other types.
2929
"EncodedJwk": "TODO: Add to local secrets"
3030
},

src/Digdir.Domain.Dialogporten.WebApi/appsettings.test.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"ClientId": "TODO: Add to local secrets",
2222

2323
// 3. Scope(s) requested, space seperated. Must be provisioned on supplied client id.
24-
"Scope": "altinn:events.publish altinn:events.publish.admin altinn:register/partylookup.admin altinn:authorization:pdp",
24+
"Scope": "altinn:events.publish altinn:events.publish.admin altinn:register/partylookup.admin altinn:authorization:pdp altinn:resourceowner/authorizedparties.admin",
2525

2626
// --------------------------
2727
// Any additional settings are specific for the selected client definition type.

0 commit comments

Comments
 (0)