[AAE-13305] remove unused authpath (#9294)

This commit is contained in:
Eugenio Romano
2024-01-30 16:23:56 +01:00
committed by GitHub
parent 9e05baf4a7
commit cb7f4ffda2
3 changed files with 2 additions and 9 deletions

View File

@@ -195,8 +195,6 @@ const alfrescoApi = new AlfrescoApi({
#### Password Flow
If your auth endpoint is different from the standard one "/oauth/token" you can override it through the property authPath
**Example**
```javascript
@@ -204,8 +202,7 @@ const alfrescoApi = new AlfrescoApi({
oauth2: {
host: 'HOST_OAUTH2_SERVER',
clientId: 'YOUR_CLIENT_ID',
secret: 'SECRET',
authPath:'my-custom-auth-endpoint/token'
secret: 'SECRET'
},
authType: 'OAUTH',
provider: 'ALL'
@@ -317,4 +314,4 @@ alfrescoJsApi.logout()
.on('logout', () => {
console.log('Successfully Logout');
});
```
```