Free Support Forum - aspose.cloud

OAuth 2 access token to authenticate Aspose API requests to manipulate PDF document issue

Making client_credentials calls to https://api.aspose.cloud/oauth2/token with valid client ID and secret returns 200 but no payload.

@southandsunset

I am afraid I am unable to reproduce the reported issue using the following cURL command. Please share some more details to reproduce it at our end. So we will investigate the issue and will guide you accordingly.

Secondly, please note now the latest API Versions of Aspose Cloud APIs use JSON Web Token(JWT) for request authorization. It is recommended to switch to JWT instead of OAuth2 token.

curl "https://api.aspose.cloud/oauth2/token" -X POST -d "grant_type=client_credentials&client_id=xxxxx-xxxxx-xxxx-xxxx-xxxxxxxxxx&client_secret=xxxxxxxxxxxxxxxxxxx" -H "Content-Type: application/x-www-form-urlencoded" -H "Accept: application/json"