https://www.geni.com/platform/oauth/authorize?client_id=MY_CLIENT_ID&response_type=token&display=desktop
returns
error=invalid_request&error_description=redirect_uri cannot point to a different server than from the one it sent a request
https://www.geni.com/platform/oauth/authorize?client_id=MY_CLIENT_ID&response_type=token&display=desktop
returns
error=invalid_request&error_description=redirect_uri cannot point to a different server than from the one it sent a request
I can confirm I'm also seeing this error.
Jan
In the case of mine, I had the protocol "https" defined in the App (https://www.geni.com/platform/developer/apps/) Callback URL, but my app was using "http" in the redirect_uri. I set that to https as well and it seems to be working well now. Essentially, the redirect_uri protocol and domain needs to match that defined in the callback.
If using a desktop application you should not need to use a callback URL
See my example: https://github.com/bpbrox/GeniApiSample
Writing a desktop application, but I don't have access to the browser's internal state. How is that meant to work?
I'm getting "Error: Page or Resource Not Found" after authorizing my app in a browser.