Multiple Environment Callback not working for OAuth App

Using this template helps us debug your issues more effectively :slight_smile:

As mentioned in the below link,

I’m trying to use the same OAuth App for multiple env. e.g., I have added the callback url as β€œ”.

We I try to redirect to, then I get following error:
{"status":false,"errorCode":4700,"errorMessage":"Invalid redirect url","result":null}

Which App Type (OAuth / Chatbot / JWT / Webhook)?

Which Endpoint/s?

How To Reproduce (If applicable)
Steps to reproduce the behavior:

  1. Create an OAuth App
  2. Add redirect url as β€œ”
  3. Now test the Installation URL{client_id}&response_type=code&

Additional context
If we add in allow lists then it works.

I got it working. After reading below post by @tommy

The mistake I was making was not including the domain (i.e. in whitelist url.

Thanks! :slightly_smiling_face:


I’m glad to hear that you were able to solve the issue @khanmdmudassir! Thanks for sharing your solution here.