Yet another Facebook OAuth error 500 -
today moved facebook application nodejitsu , couldn't figure out wrong in oauth/dialog
request.
i validated had:
- added new application domains application settings
- the redirect uri good, example,
app.nodejitsu.com
i played around these properties , didn't figure out why still giving me 500 error. checked of posts on stackoverflow , although seemed valid errors, didn't seem reflect issue.
this how found problem.
after migrating app nodejitsu localhost
app still worked. decided remove localhost
accepted app domains in facebook settings. when tested again got error:
"given url not allowed application configuration.: 1 or more of given urls not allowed app's settings. must match website url or canvas url, or domain must subdomain of 1 of app's domains."
ok, made think. if problem incorrect domain still message nodejitsu, had error request reckoned.
i manually edited request , figured out redirect_uri
did not start http.
i changed , worked.
Comments
Post a Comment