Dear Community,
I just wondered whether anybody managed to return a CompletableFuture of a result rather than the actual result in a atlassian-connect-spring-boot controller endpoint. I tried to implement this but atlassian-connect-spring-boot returns unauthorized in this case. The below is not working:
@RequestMapping(value = "/some-endpoint", method = RequestMethod.GET)
@ResponseBody
public CompletableFuture<String> someEndpoint(@AuthenticationPrincipal AtlassianHostUser hostUser...
Thank you
Andreas