Good morning colleagues,
I need to expose a web api with oauth 2 authentication , I manage to do this but the token expires from the external system every so often and I don't know how to make it regenerate automatically without having to do it manually . can anyone help me with this ?
Discussion posts and replies are publicly visible
Just to make sure, you created a Web API object in Appian and set up oAuth 2 authentication following the the documentation below?
https://docs.appian.com/suite/help/22.2/Web_API_Authentication.html#oauth-2.0-client-credentials-grant
Then, another system calls the Appian API and the token expires? Is that correct?
If yes, oAuth tokens always have a pretty short expiration time and the other system needs to get a new one calling the endpoint /suite/authorization/oauth/token to get a new one.
docs.appian.com/.../Appian_Administration_Console.html
thaks ,