Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
Ability to pass client secret (#1373)
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriziovitale authored May 4, 2022
1 parent c7e66a4 commit 005b96d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/authentication/oauth2Auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,8 @@ export class Oauth2Auth extends AlfrescoApiClient {
username: username,
password: password,
grant_type: 'password',
client_id: this.config.oauth2.clientId
client_id: this.config.oauth2.clientId,
client_secret: this.config.oauth2.secret
};

let contentTypes = ['application/x-www-form-urlencoded'];
Expand Down

0 comments on commit 005b96d

Please sign in to comment.