Unfortunately I keep getting this error:
{ "error": { "message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration.", "type": "OAuthException", "code": 191 } }
Login works however when my
/etc/hosts
file is set to:127.0.0.1 [mysite].rhcloud.com
, it only fails when I view the actual[mysite].rhcloud.com
.I am running the exact same application (on a different server) locally as the one I'm running on rhcloud. Specifically the local<->remote web-application directories are synced.
URL information
When attempting login remotely the URL looks like this; and fails with aforementioned error:
Whereas attempting to login locally the URL looks like this; and works:
Note that I followed your guide for setting up Facebook with OAuth2: http://web2py.com/books/default/chapter/29/9
FYI: I also posted on StackOverflow