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

FIXED

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

con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande