The authentication dance uses a v3 endpoint (even when v4 is used at the beginning) (original) (raw)

When trying to log in a user (for addons-code-manager but also addons-frontend), after the FxA page, a v3 API endpoint is used instead of v4:

screen shot 2019-01-22 at 17 33 55

I don't really know why component creates this URL though, FxA maybe?

The URL comes from the response to an XHR call to https://oauth-stable.dev.lcip.org/v1/authorization:

{"code":"xxxx","state":"yyy8261:Lw","redirect":"http://localhost:3000/api/v3/accounts/authenticate/?config=local&state=yyy%3ALw&code=xxx"}