lancejpollard / authlogic-connect

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

Example App not working. #43

Closed kcore closed 14 years ago

kcore commented 14 years ago

The example app for both rails 3 and 2.3.* are not working for me. When i do click on facebook, the url generated is something like "https://graph.facebook.com/oauth/authorize?scope=email,%20offline_access&client_id=&type=web_server&redirect_uri=http://192.168.0.121:3000/authenticate"

where the client_id is null.There is no provision to specify it. Where as the live example on heroku is working fine. What is the problem, am I doing something wrong?? Also, if i do add the client_id in the url, it authenticates the user, but again throws some exception while requesting the access token, as client_id id missing there too..

Thanks

kcore commented 14 years ago

sry. my bad. I had given the api_key fro key in the authlogic.yml, where instead it should have been the app_id of facebook.