Not support bearer authentication
Opened this issue · 1 comments
SabrinaZ commented
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'
}
});
EddieOne commented
Sorry 5 years too late.
options.header = { 'Authorization': 'Bearer ' + access_token }