Check that this url is registered as a redirect URI in your oauth app configuration.
this url
FAR server URL for GitHub:
all configuration can be synced to your remoteStorage.
source code. see also OAuth 2.0 Debugger