Free Support Forum -

Convert PowerPoint Presentation to PDF request authentication in Python using Aspose.Slides REST API


We are trying to write a single way to convert excel, ppt and word documents to pdf. Aspose.Cloud.Cells python sdk clearly uses OAuth2 to handle the authentication flow via a Bearer token. Can we use the same pattern for Slides?



Thank you for contacting Aspose Support.

All our REST APIs (Aspose.Words, Aspose.Cells, Aspose.Slides etc.) support OAuth 2.0 authentication.

Can we use the same pattern for Slides?



Just as an update, please note, now latest Aspose Cloud APIs are using JSON Web Token(JWT) for the request authentication. Please let us know if you have any question or concern in this regard.

curl -X POST "" 
-d "grant_type=client_credentials&client_id=xxxxx-xxxx-xxxx-xxxx-xxxxxxxx&client_secret=xxxxxxxxxxxxxxxxxx" 
-H "Content-Type: application/x-www-form-urlencoded" 
-H "Accept: application/json"