Free Support Forum - aspose.cloud

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

Hello

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?

Thanks,
Greg

@greg-4

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?

Yes.

@greg-4

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 "https://api.aspose.cloud/connect/token" 
-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"