StephenKoller / mashhopper

CodeMash 2014 Session Planner
1 stars 0 forks source link

Facebook oauth #24

Closed detroitpro closed 10 years ago

detroitpro commented 10 years ago

Unable to log in (on my local dev) with facebook. Error is:

FacebookAuthorizationError: App Not Setup: The developers of this app have not set up this app properly for Facebook Login.
    at Strategy.authenticate (W:\Projects\mashhopper\node_modules\passport-facebook\lib\strategy.js:81:23)
    at attempt (W:\Projects\mashhopper\node_modules\passport\lib\middleware\authenticate.js:337:16)
    at authenticate (W:\Projects\mashhopper\node_modules\passport\lib\middleware\authenticate.js:338:7)
    at W:\Projects\mashhopper\app\services\authentication.js:11:16
    at callbacks (W:\Projects\mashhopper\node_modules\express\lib\router\index.js:164:37)
    at param (W:\Projects\mashhopper\node_modules\express\lib\router\index.js:138:11)
    at pass (W:\Projects\mashhopper\node_modules\express\lib\router\index.js:145:5)
    at Router._dispatch (W:\Projects\mashhopper\node_modules\express\lib\router\index.js:173:5)
    at Object.router (W:\Projects\mashhopper\node_modules\express\lib\router\index.js:33:10)
    at next (W:\Projects\mashhopper\node_modules\express\node_modules\connect\lib\proto.js:193:15)
perljedi commented 10 years ago

That is because the associated facebook "app" is in development mode. you need to friend me on facebook so I can add you as an app dev, or I need to make the app "public". given that it has no actually "app", I can just make it "public"

perljedi commented 10 years ago

Is now public, so it should work for anyone now. Please test to confirm and close this issue if it works.

detroitpro commented 10 years ago

Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.

perljedi commented 10 years ago

Man, facebook is stupid... let me see if I can set it for the production URL. On the other hand, if you are listed as a dev on the app, that will allow it to work for localhost when running a dev instance (it is working that way for me now).

detroitpro commented 10 years ago

How do I find you on Facebook? On Feb 2, 2014 8:23 PM, "Dave" notifications@github.com wrote:

Man, facebook is stupid... let me see if I can set it for the production URL. On the other hand, if you are listed as a dev on the app, that will allow it to work for localhost when running a dev instance (it is working that way for me now).

Reply to this email directly or view it on GitHubhttps://github.com/StephenKoller/mashhopper/issues/24#issuecomment-33919482 .

perljedi commented 10 years ago

ack... that is also a problem... I'll have to make myself findable (I turned that off because I hate facebook)... I also just added the heroku urls to the app. I'll make myself findable again ...

perljedi commented 10 years ago

Tested and confirmed working during hack-a-thon