Scott Steinbeck
12/23/2022, 12:25 AMbasicAuth = require('btoa')(authConfig.clientId + ':' + authConfig.clientSecret);
....
headers: {
'Accept': 'application/json',
'Authorization': 'Basic ' + basicAuth,
'Content-Type' : 'application/x-www-form-urlencoded'
},
is it just doing a base64 and adding an authorization header. or does this get done automatically if we use the username and password args?bdw429s
12/23/2022, 1:22 AM