Authentication
Prior to version 2021R2.3 only OAuth2 authentication is supported.
As of TrendMiner version 2021R2.3 OpenID Connect/OAuth2 authorization using Keycloak server is introduced. In order to be authorized to use Context SQL Sync swagger UI for service configuration, a user should authenticate and get an access token, which can be used from swagger UI. To get a token:
Open a browser and navigate to <TM-URL>/context-sql-sync/swagger-ui.html#/
Click Authorize button
In the pop-up screen, scroll to openIdConnect (OAuth2, authorization_code) flow.
Enter tm-context-sql-sync-swagger as client_id.
Click Authorize and then log into TrendMiner with user credentials provided.
Note
The access token has a lifespan of 5 minutes, so after that time a new token should be requested, i.e. repeat the above steps.