G-Suite Authorize App error 400: invalid_request2019-10-30 10:06:09
Google (G Suite) Troubleshooting UnitySync
When attempting to Authorize App on either the Source or Destination tabs, you receive an error 400 which reads (in part):
Invalid parameter value for redirect_uri: Non-public domains not allowed: http://IISservername/unitysync/gsuite.cgi/auth
This error occurs when you have configured your UnitySync User Interface (UI) to be accessible via IIS. G-Suite connections must be authorized using dirweb.exe instead, as G-Suite reads your IIS server address as a non-public domain.
To proceed, close the UnitySync UI in your browser, then relaunch using direweb.exe, which is found in …\unitysync\bin. From this instance of the UI, try the Authorize App button again, and your results should be sucessful.