Hi team, I am working on setting up a Zapier integration using the OAuth v2 flow.
After the user is successfully logged in on our app then the app redirects the user back to the Zapier OAuth redirect url e.g https://zapier.com/dashboard/auth/oauth/return/App--moderator removed--CLIAPI/ However when the user is redirected to the mentioned Zapier OAuth redirect url with the authorization code appended, it throws a 404 error when it tries to open the Zapier page.
I have setup my own api endpoint for callback and from platform zapier I am able to authenticate successfully, however from app end when I tried to manage the same it is navigating me to https://zapier.com/dashboard/auth/oauth/return/App--moderator removed--CLIAPI/?state=8nzk8k&code=4/--moderator removed--&scope=profile%20https://www.googleapis.com/auth/gmail.readonly%20https://www.googleapis.com/auth/userinfo.profile

url and not calling the callback url which I have define in access token request block in zapier platform
As per my understanding zapier should automatically call the callback url define in access token request block.
This post has been edited by a moderator to remove potentially sensitive information. Please remember that this is a public forum and avoid sharing any personal or sensitive details.