ember-simple-auth
ember-simple-auth copied to clipboard
OAuth redirection has stopped working
I have a site which has been using Ember Simple Auth (with Torii) to sign in users via a 3rd party service which has all been working fine for a long time.
But at some point this has stopped working now when using Firefox.
Trying to understand what has happened I noticed that the URL in the popup window is now wrong. It seems like Firefox is now automatically redirecting to https
(which my site does not support).
The URL is specified in my config is
ENV.torii.providers.3rd-party-service.redirectUri = 'http://www.mysite.com/torii/redirect.html';
But the popup displays https
I have not updated this project for some time and am using Ember Simple Auth v1.2.0.
Is there a simple fix for this that would not require adding https
to the site?
I had the same issue. They've moved config stuff to the routes. Check out the migration guide. https://github.com/simplabs/ember-simple-auth/blob/411c19e2639b1d4c9776647675dd539b1ab788ee/guides/upgrade-to-v3.md
Hm, I'd be surprised if this started to behave differently without any change…
Also, ENV.torii.providers.3rd-party-service.redirectUri = 'http://www.mysite.com/torii/redirect.html';
is a torri config setting that ESA does not use in anyway so I think you'll want check https://github.com/Vestorly/torii