lancejpollard / authlogic-connect

Instant Oauth and OpenID support for your Rails and Sinatra Apps
MIT License
148 stars 27 forks source link

Facebook error #33

Closed badnaam closed 14 years ago

badnaam commented 14 years ago

I get the following error when I use the facebook option in the sample app.

{ "error": { "type": "OAuthException", "message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration." } }

Here is the url

https://graph.facebook.com/oauth/authorize_success?scope=email%2C+offline_access&client_id=d8c9cc1521eec67e81a5ea559825e92f&type=web_server&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fsignup&perms=email%2Coffline_access&selected_profiles=100000602003987&session={%22session_key%22%3A%221be4416fff1c2146eb8c69e7-100000602003987%22%2C%22uid%22%3A100000602003987%2C%22expires%22%3A0%2C%22secret%22%3A%2218e034775dd34b496eae41124355970b%22%2C%22sig%22%3A%22aacc5303f6c178cdbd72e28395227003%22}

badnaam commented 14 years ago

it seems I hadn't configured the site url and domain in my facebook app