How to Automate and Retrieve Authorization Code in Anaplan OAuth API Automation using Python
Hi,
I'm facing an issue with the Anaplan API integration. Currently, the authorization code retrieved manually, but we are looking for a way to automate this process as part of our integration workflow.
Thanks
Answers
-
Hi,
On your integration are you using Device Grant or Authorization grant flow?0 -
Hi,
We are using Authorisation Grant flow for integration.
0 -
If you'd want to have everything automated I'd suggest to investigate device grant flow. That way you can just do one initial authorization manually and in the future you can use a refresh token to automatically generate new authorization tokens.
0 -
Ok, Let me check on that.
And can you please correct me if my understanding of API process is wrong.
My requirements:
Need to load CSV file into the API endpoint
For that need to authentication then need to perform put operation on the file id to load the CSV and the response code should need to be 204?
Then need to perform post operation on the process ID to trigger the processes and it’s tasks.
0