If an external Identity Provider is configured for a tenant, the Resource Owner Password Credentials authentication scheme will not work.To obtain the access token, use the following:
- A POST request.
- The token endpoint. If your email address is connected to several accounts in different tenants and you use this authentication, use
https://vantage-<region>.abbyy.com/auth2/{tenantId}/connect/token. - A
Content-Typeheader with theapplication/x-www-form-urlencodedencoding. - A request body with the following parameters:
| Parameter | Description |
|---|---|
| grant_type=password | Specifies that the password grant type is used. |
| scope=openid permissions global.wildcard | Specifies the permission scope. |
| username and password | Your credentials. |
| client_id | Application identifier. |
| client_secret | Secure application key. |
