Skip to main content
Question

Cognito - OAuth v2 int

  • September 11, 2024
  • 4 replies
  • 50 views

I'm setting up my app for the first time with private integration. As my app api is protected with Cognito user pool, I'm setting up OAuth v2 authentication against Cognito. I have configured a new app in Cognito with client_id, client_secret and zappier.com as an authorized redirect url. However, zapier is not able to connect to the app. It goes through the authorize step successfully showing the login screen and fails at the token step with the below error. Appreciate any help. This is time sensitive for a funding demo.

{"status":400,"headers":{"content-type":"application/json;charset=UTF-8","retry-after":null},"content":"{\"error\":\"invalid_client\"}"
 

Regards

vg

Did this topic help you find an answer to your question?

4 replies

I am facing the same issue. Is there any solution for that?


  • Author
  • New
  • 1 reply
  • October 1, 2024

I was able to get it working by creating a new integration through CLI. 


same for me via cli, can you share your authentication.js file?


never mind, I have it working, redirect_uri in token endpoint is required