Skip to content

Commit

Permalink
PI-1493 Disable issuer validation (#2372)
Browse files Browse the repository at this point in the history
HMPPS Auth tokens are sent with an `iss` claim from localhost, as the tokens are issued locally.
  • Loading branch information
marcus-bcl authored Oct 5, 2023
1 parent 6645e61 commit f08936c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion projects/hmpps-auth-and-delius/deploy/values-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ generic-service:
env:
SENTRY_ENVIRONMENT: dev
SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_JWK_SET_URI: https://sign-in-dev.hmpps.service.justice.gov.uk/auth/.well-known/jwks.json
SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_ISSUER_URI: https://sign-in-dev.hmpps.service.justice.gov.uk/auth/issuer

LOGGING_LEVEL_UK_GOV_DIGITAL_JUSTICE_HMPPS: DEBUG

Expand Down
1 change: 0 additions & 1 deletion projects/hmpps-auth-and-delius/deploy/values-preprod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ generic-service:
env:
SENTRY_ENVIRONMENT: preprod
SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_JWK_SET_URI: https://sign-in-preprod.hmpps.service.justice.gov.uk/auth/.well-known/jwks.json
SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_ISSUER_URI: https://sign-in-preprod.hmpps.service.justice.gov.uk/auth/issuer

generic-prometheus-alerts:
businessHoursOnly: true
1 change: 0 additions & 1 deletion projects/hmpps-auth-and-delius/deploy/values-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ generic-service:
env:
SENTRY_ENVIRONMENT: prod
SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_JWK_SET_URI: https://sign-in.hmpps.service.justice.gov.uk/auth/.well-known/jwks.json
SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_ISSUER_URI: https://sign-in.hmpps.service.justice.gov.uk/auth/issuer

0 comments on commit f08936c

Please sign in to comment.