Open SabrinaZ opened 9 years ago
Bearer authentication is not supported. In latest version of request, when bearer value is provided in auth, it should send a bearer authentication. eg. request.get('http://some.server.com/', { 'auth': { 'bearer': 'bearerToken' } });
Sorry 5 years too late.
options.header = { 'Authorization': 'Bearer ' + access_token }
Bearer authentication is not supported. In latest version of request, when bearer value is provided in auth, it should send a bearer authentication. eg. request.get('http://some.server.com/', { 'auth': { 'bearer': 'bearerToken' } });