Cognito Access Token doen't work in API Gateway Authorizator

0

Hello, I have created an API Gateway and in its routes, I have put the Cognito authorizer.

If I use the token that the Cognito Sample Login application gives me, everything works perfectly.

But if I use the Access Token that gives me the login from one of our applications, the API returns NOT AUTHORIZED

We use that same token in many lambda endpoints and it works perfectly, but it fails in the API Gateway that sends files directly to S3

Why the same Access Token that works on all endpoints, fails on a particular API Gateway?

Regards

Pablo

1 Answer
0

FIXED

The** aws.cognito.signin.user.admin** OpenID Method is Required in COGNITO

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions