This repository has been archived by the owner. It is now read-only.
Attempt to fetch avatar is made after failure to fetch OAuth token #2835
Milestone
Comments
|
@shane-tomlinson to check this |
|
@shane-tomlinson to check if this has been fixed. |
|
Since mozilla/fxa-oauth-server#315 is fixed, the new diff is: diff --git a/app/scripts/lib/oauth-client.js b/app/scripts/lib/oauth-client.js
index 09f24bc..65913a4 100644
--- a/app/scripts/lib/oauth-client.js
+++ b/app/scripts/lib/oauth-client.js
@@ -22,6 +22,8 @@ function (xhr, OAuthErrors) {
OAuthClient.prototype = {
_request: function (method, endpoint, params) {
+ params = {};
+
return this._xhr[method](this._oAuthUrl + endpoint, params || null)
.fail(function (xhr) {
var err = OAuthErrors.normalizeXHRError(xhr);The request for the users avatar no longer occurs if the request to Closing as fixed. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.

STR:
/v1/authorization, then the profile server's/v1/avatarExpected:
The proof:
The diff:
Ref mozilla/fxa-oauth-server#315
The text was updated successfully, but these errors were encountered: