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 réponse
0

FIXED

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

répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions