Skip to content

Commit

Permalink
fix: send scopes with client secret authentication (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
csmig authored Mar 27, 2024
1 parent 1119b30 commit b39e86e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ async function getToken () {
async function authenticateClientSecret () {
const parameters = {
form: {
grant_type: 'client_credentials'
grant_type: 'client_credentials',
scope: self.scope,
},
username: options.clientId,
password: options.clientSecret,
scope: self.scope,
responseType: 'json'
}

Expand Down

0 comments on commit b39e86e

Please sign in to comment.