How do I create a service account and trigger a Decisions workflow via POST with OAuth?
Hello,
How do I create a service account in Decisions, and how can I send a POST request (with OAuth authentication) to trigger a process in Decisions? I want to use Decisions as a service with another piece of software. Any guidance would be appreciated.
0
Comments
-
Hello,
To integrate your system with Decisions using OAuth authentication, follow these steps:
- Create a Service Account:
Go to System > Security > Accounts, create a new account, and assign the necessary permissions for integration. - Configure as a Named Session (Optional
but recommended):
Set up the service account as a named session for better security and access control. Named Sessions
- Expose Your Workflow as an API Endpoint:
Expose the workflow you want to trigger as an API endpoint in Decisions. API and Authentication - Set Up OAuth Authentication:
Configure an OAuth Provider in Decisions and generate an OAuth token for your service account. Establishing an OAuth Provider
- Send the POST Request:
Include the OAuth token in the Authorization header (Authorization: Bearer ) and send your POST request to the workflow endpoint. Creating OAuth Tokens
For more details, see:
Hope this helps!0 - Create a Service Account:
Howdy, Stranger!