1. Configuration
Include this library in your ODC application as a dependency.
Set up parameters using information obtained from the O11 Service Account Manager:
O11_Auth_URL: The token endpoint URL.
ClientId: Your unique Client ID.
ClientSecret: Your unique Client Secret.
2. Consuming APIs
Create your REST integration to the O11 API.
Drag and drop the GetAuthorizationHeader action into your REST method's OnBeforeRequest callback, then append the valid token header.
The valid token will be automatically fetched and cached by the connector.
For more information about consuming REST APIs secured with JWT token-based authentication in OutSystems Developer Cloud (ODC), refer to Token-based authentication for consumed REST APIs.