App verification requires separate Dev/Prod Redirect URLs (not localhost)

Our OAuth app was rejected because we had the same redirect URL for prod and dev environments. The document shared by the reviewer mentions the following:

Please provide separate redirection URLs for the Dev and Prod environments respectively for use in your app and ensure locations are not hosted locally (localhost) Currently, https://ourwebsite.com is being used for both environments.

Our dev enviroment has always been localhost. However, for the review we can provide an alternative URL, (say https://ourwebsite-testing.com) with the development API keys.

My question is this: once our app is approved, will we be able to change the development redirect URL back to localhost so that our app development is not affected?

Hey @manish.mks.999,

The best way to do this is to get a reserved domain on Ngrok or similar service, that turns your localhost server into a live server. Then put the reserved domain as your development redirect url in your app marketplace settings.

https://ngrok.com/

Thanks,
Tommy

Thanks for the reply Tommy.

Even if we use ngrok (which we did try for a brief period), my question is this: will we be able to change this development redirect URL (once our app is approved) to something else if we want to?

Hey @manish.mks.999,

Yes, you will be able to change your development settings on a published app so you can develop new features. :slight_smile:

Thanks,
Tommy

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.