Try this on heroku.  Might have an issue with localhost and cross-site security