Skip to content

Commit

Permalink
CDPS-1054: Corrected reference to client credentials and update regis…
Browse files Browse the repository at this point in the history
…tration id.
  • Loading branch information
mtac50 committed Nov 20, 2024
1 parent 93c2a55 commit 39f3893
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class WebClientConfiguration(
authorizedClientManagerUserEnhanced(clientRegistrationRepository),
builder,
prisonApiBaseUri,
"prison-api",
"hmpps-person-integration-api",
prisonApiTimeout,
)
}
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ spring:
token-uri: ${hmpps-auth.url}/oauth/token

registration:
prison-api:
hmpps-person-integration-api:
provider: hmpps-auth
client-id: ${hmpps-person-integration-api.system.client.id}
client-secret: ${hmpps-person-integration-api.system.client.secret}
client-id: ${system.client.id}
client-secret: ${system.client.secret}
authorization-grant-type: client_credentials
scope: read

Expand Down

0 comments on commit 39f3893

Please sign in to comment.