Interceptor on REST API


How can we add an interceptor to the REST API that calls a function prior to executing the service? We need to intercept the REST API request so we can do a custom authentication according to another service.
Also, is it possible to disable the oauth2 from the REST API?


1 Like

About the disabling oauth2 - yes, you can enable anonymous mode. See here:
About the custom authentication - can you please describe in more details how you authentication will work?