Or you could implement authentication in your REST endpoint. Set the authentication to basic and that will create an OnAuthentication event. In there call User_Login and optionaly check any roles you want. This will then proceed with the rest of the REST call as a fully authenticated user in the correct tenant.
↧