mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-13305] remove unused authpath (#9294)
This commit is contained in:
@@ -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');
|
||||
});
|
||||
```
|
||||
```
|
||||
|
Reference in New Issue
Block a user