I am using the https://github.com/jaredhanson/passport-windowslive NPM package to implement Microsoft account authentication for my NodeJS application. Recently (since April 22), I saw several cases in the server logs that show a user trying to log in, but the data in the OAuth callback to our server contains an empty array for letters. This is despite the fact that I explicitly indicate the area wl.signin,wl.emails. These cases are rare (occurring once or twice a day), but are frequent enough to annoy my service monitoring notifications.
This is a returned user object: note that in addition to the user ID that I hid for privacy reasons, all other fields are indeed null or empty, as indicated in the callback.
{"id":"<id hidden>","displayName":null,"name":{"familyName":null,"givenName":null},"emails":[],"photos":[{"value":"https://apis.live.net/v5.0/<id hidden>/picture"}],"provider":"windowslive","_raw":"{\r \"id\": \"<id hidden>\", \r \"name\": null, \r \"first_name\": null, \r \"last_name\": null, \r \"gender\": null, \r \"emails\": {\r \"preferred\": null, \r \"account\": null, \r \"personal\": null, \r \"business\": null\r }, \r \"locale\": null\r}","_json":{"id":"<id hidden>","name":null,"first_name":null,"last_name":null,"gender":null,"emails":{"preferred":null,"account":null,"personal":null,"business":null},"locale":null}}
Has something changed recently on the Windows Live API server? Is there a mistake somewhere?
source
share