Skip to content

Commit

Permalink
comment with url
Browse files Browse the repository at this point in the history
  • Loading branch information
tj-boyle committed Dec 8, 2023
1 parent 2630541 commit ddbeed8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nextjs/hello-app/app/cognito-debug/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ async function getJwtPayload() {
// https://docs.aws.amazon.com/elasticloadbalancing/latest/application/listener-authenticate-users.html
// https://github.com/awslabs/aws-jwt-verify

// Step 1: Get the key id from JWT headers (the kid field)
// https://github.com/awslabs/aws-jwt-verify/issues/71
const headersList = headers();
const encodedJwt = headersList.get('x-amzn-oidc-data');
console.log(`encodedJwt = ${encodedJwt}`);
Expand Down

0 comments on commit ddbeed8

Please sign in to comment.