Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Commit 005b96d

Browse files
Ability to pass client secret (#1373)
1 parent c7e66a4 commit 005b96d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/authentication/oauth2Auth.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,8 @@ export class Oauth2Auth extends AlfrescoApiClient {
534534
username: username,
535535
password: password,
536536
grant_type: 'password',
537-
client_id: this.config.oauth2.clientId
537+
client_id: this.config.oauth2.clientId,
538+
client_secret: this.config.oauth2.secret
538539
};
539540

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

0 commit comments

Comments
 (0)