rickyrauch / Balloons.IO

Balloons.IO is a web multi-room chat server and client ready to use. It’s built with the help of node.JS, Express, Socket.IO and Redis. Balloons uses PassportJS for authentication with Twitter and Facebook
http://balloons.io
2.37k stars 493 forks source link

Can't finish the installation steps since Callback URL config info is missing #76

Closed felipefzdz closed 11 years ago

felipefzdz commented 11 years ago

When following the installation info I found two problems.

If I try to log in with Twitter I get this exception:

Error: failed to find request token in session at Strategy.OAuthStrategy.authenticate (/home/ffernandez/IdeaProjects/Balloons.IO/node_modules/passport-twitter/node_modules/passport-oauth/lib/passport-oauth/strategies/oauth.js:122:54)

To solve it I had to go to my Twitter app Settings and add the Callback URL contained in 'config.json': http://127.0.0.1:6789/auth/twitter/callback

If I try to log in with Facebook I get this one:

An error occurred. Please try again later.

API Error Code: 191 API Error Description: The specified URL is not owned by the application Error Message: Invalid redirect_uri: Given URL is not allowed by the Application configuration.

To solve it I had to go to my Facebook app Settings/Basic, click on Website with Facebook Login and add the Callback URL contained in 'config.json': http://127.0.0.1:6789/auth/facebook/callback

These steps should be included in the Installation info to achieve a soft landing in the app.

rickyrauch commented 11 years ago

@olid16 Thanks!