Closed mhammond closed 13 years ago
OK - so I went to the "profile" page in yahoo and noticed it saying "activated his profile" 30 seconds ago (which was long after I created the account). After that it worked correctly - so it seems this error is related to the profile not being "activated"
moved over to: https://bugzilla.mozilla.org/show_bug.cgi?id=642903
I just created a test yahoo account and attempted to authorize it. F1 responds with:
I hacked the code to dump the profile and it was:
The profile seems strange as I did enter a name when creating the profile - maybe the error is due to the account being so new - I'll let you know if it ever changes.
While we can probably handle this case given we don't actually use the 'preferredUsername' field, note that the profile also lacks the 'xoauth_yahoo_guid' item - which we do use for fetching contacts. Dealing with this latter field missing is the reason I didn't just fix the error relating to preferredUsername (actually, I did fix it, then hit a KeyError for the latter field :)