automation-get-token-oauth
- 25 Oct 2024
-
DarkLight
-
PDF
automation-get-token-oauth
- Updated on 25 Oct 2024
-
DarkLight
-
PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Purpose
This automation returns the Oauth token to be used in future requests to Itential. Retrieves the client_id and client_secret from the IAP Instances Config Table.
authentication-get-token-oauth
API used:
/oauth/token
Input
Inputs | Data Type | Sample Input | Description |
---|---|---|---|
instance_name | Dropdown (String) | SE Lab Prod 2023.1 | The IAP instance name |
Output
Output | Data Type | Sample Output | Description |
---|---|---|---|
token | String | 9f0999c2-7054-4820-8eeb-c3052d30acaa | The authentication token |
Error Output
Error Output | Data Type | Sample Output | Description |
---|---|---|---|
error_message | String | Invalid credentials | Error message |
Was this article helpful?