mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
[AAE-13305] remove unused authpath (#9294)
This commit is contained in:
parent
9e05baf4a7
commit
cb7f4ffda2
@ -195,7 +195,6 @@ You can access an external provider to get an auth token for a user:
|
||||
{
|
||||
"oauth2" : {
|
||||
"host": "http://myhost.com",
|
||||
"authPath": "/my-custom-auth/token",
|
||||
"clientId": "my-client-id",
|
||||
"secret": ""
|
||||
}
|
||||
|
@ -1527,9 +1527,6 @@
|
||||
"silentLogin": {
|
||||
"type": ["boolean", "string"]
|
||||
},
|
||||
"authPath": {
|
||||
"type": "string"
|
||||
},
|
||||
"clientId": {
|
||||
"type": "string",
|
||||
"description": "The client's id as registered with the auth server"
|
||||
|
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user