Cognito Login Response - error=request-compose timeout

System Information
  • Strapi Version: 4.12.0
  • Operating System: Windows 11
  • Database: sqlite
  • Node Version: 18.13.0
  • NPM Version: 8.15.0
  • Yarn Version: 1.22.19

Hi Everyone, I am trying to log in with AWS Cognito. I am getting the below response.

{“data”:null,“error”:{“status”:400,“name”:“ApplicationError”,“message”:“No access_token.”,“details”:{}}}

Please let me know if anyone has faced this issue.

1 Like

+1
Same issue with me. I have tried with ngrok as well, but same.

You need to specify the access_token in the url.

Like:
localhost:1337/api/auth/cognito/callback?access_token=1234abcde1234

Note that access_token should be given by Cognito Provider in your client login.