[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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 9 deletions

View File

@ -195,7 +195,6 @@ You can access an external provider to get an auth token for a user:
{ {
"oauth2" : { "oauth2" : {
"host": "http://myhost.com", "host": "http://myhost.com",
"authPath": "/my-custom-auth/token",
"clientId": "my-client-id", "clientId": "my-client-id",
"secret": "" "secret": ""
} }

View File

@ -1527,9 +1527,6 @@
"silentLogin": { "silentLogin": {
"type": ["boolean", "string"] "type": ["boolean", "string"]
}, },
"authPath": {
"type": "string"
},
"clientId": { "clientId": {
"type": "string", "type": "string",
"description": "The client's id as registered with the auth server" "description": "The client's id as registered with the auth server"

View File

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