Skip to content

Conversation

@tbrand
Copy link
Contributor

@tbrand tbrand commented Sep 5, 2025

Description of Changes

In closed network mode, a cognito proxy is used, so changes to jwksUri are necessary. (Since there is no VPC Endpoint, the Cognito endpoint cannot be accessed from the closed network) Since CognitoJwtVerifier hardcodes the jwksUri from Cognito's user pool (cannot be overridden), I now use the lower-layer JwtRsaVerifier to standardize processing between closed network mode and normal mode.

Checklist

  • Modified relevant documentation
  • Verified operation in local environment
  • Executed npm run cdk:test and if there are snapshot differences, execute npm run cdk:test:update-snapshot to update snapshots

Related Issues

N/A

Copy link
Contributor

@wadabee wadabee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wadabee wadabee merged commit 80b5e37 into main Sep 5, 2025
6 checks passed
@wadabee wadabee deleted the verify-with-cognito-proxy branch September 5, 2025 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants