Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support authentication with addons-frontend in development workflow #4684

Closed
mstriemer opened this issue Feb 14, 2017 · 1 comment
Closed

Comments

@mstriemer
Copy link
Contributor

mstriemer commented Feb 14, 2017

Describe the problem and steps to reproduce it:

Run addons-server with docker and addons-frontend AMO with its proxy server. Logging in from addons-frontend works but logging in from addons-server on localhost:3000 does not.

What happened?

FxA redirected to http://olympia.dev.

What did you expect to happen?

FxA redirected to http://localhost:3000 and log in was successful.

Anything else we should know?

This is really a configuration problem. If addons-server was setup to use the "local" FxA config then this would work. There should be some way to tell addons-server to use this configuration instead of the default. The code path for the log in link starts from olympia.accounts.helpers.

The addons-frontend README should be updated when this is fixed.

@willdurand
Copy link
Member

This works now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants