Enhancement
Major
Detail
Detail
Enhancement
An OpenAPI interface can be provided in TopLogic. The actions carried out here are always executed in the system context. TL script functions can also be defined to call such an OpenAPI interface. A system account is used here for authentication.
Improvement
It should be possible to provide an OpenAPI interface that is executed in the user context. It should also be possible for the TL script functions to use the authentication of the logged-in user.
Implementation
- In the OpenAPI server, you can specify for "OpenID authentication" whether the operations secured with this authentication should be executed in the user context. In this case, it is expected that the user of the transferred token has access to the application.
- In the "TL script functions for external APIs", "With user authentication" can be selected as authentication. In this case, the token of the logged-in user is also sent for authentication.
Test
No test.