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 Respuesta
0

FIXED

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

respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas