If you have provided URLs that you need to whitelist for your app in the Whitelist URL section, please be sure to provide either the entire or the prefix of the Redirect URL for OAuth.
For e.g: if the Redirect URL for OAuth is https://mysite.somedomain.com/oauth, then your whitelist URL section should contain either https://somedomain.com or https://mysite.somedomain.com or https://mysite.somedomain.com/oauth. If for e.g. you have added https://yoursite.somedomain.com in the whitelist URL section, then you will receive the 4700 error