Skip to content

Commit

Permalink
fix: Use correct scope for authorization API (#709)
Browse files Browse the repository at this point in the history
  • Loading branch information
elsand authored May 8, 2024
1 parent 2742248 commit 38253ad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"ClientId": "TODO: Add to local secrets",

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

// --------------------------
// Any additional settings are specific for the selected client definition type.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"ClientId": "TODO: Add to local secrets",

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

// --------------------------
// Any additional settings are specific for the selected client definition type.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"ClientId": "TODO: Add to local secrets",

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

// --------------------------
// Any additional settings are specific for the selected client definition type.
Expand Down

0 comments on commit 38253ad

Please sign in to comment.