Discussions
Authoriation code for API
almost 5 years ago by Pol Sendra
Hello I am creating a bot to automate a few functionalities with Factorial. I get the authorization code from the Oauth application page as specified in the documentation:
You can also request an authorization code directly from the Oauth application page, useful in cases
of integrations with a single user like an external API.
But when I try to get the access token for a second time it returns a 400 error code and I have to generate a new authorization code from the website, and it will only work for the first request.
My question is:
How can I get an authorization code that doesn´t change for every request, so I can use it from my server application without the need to change it every time?