Secure AWS API-G with Custom AuthZ Tutorial

New here, refugee from Cognito.

I am working through the above tutorial and have got as far as testing the Custom AuthZ locally.

I am getting the error “JwksError: Not Found”

.env is

JWKS_URI=https://dev-2*p.eu.auth0.com/.well-known/jwks.json
AUDIENCE=https://pets-example
TOKEN_ISSUER=https://dev-2
p.eu.auth0.com/

event.json is

{
“type” : “TOKEN”,
“authorizationToken” : “Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IlZKSGhSOEdNSm4zSm1UQzJIczZHSSJ9.eyJpc3MJneakIGNROsPPHsYetfFU2ySNQt8Wt_bf5A6R2DzRB8oVP26UOxzAr5uqVg",
“methodArn”:"arn:aws:execute-api:us-east-1:8
2:m********k//GET/pets”
}

Searching does not give me any pointers

Thoughts?

Sorted. Rookie error in referencing the location for the Json Web Key Sets

Thanks for posting an update and welcome to the Community! :slight_smile:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.