Rejected incoming request for controller requiring JWT authentication for own controller

I have atlassian-connect-spring-boot app with some endpoints to 3rd party-services inside it e.g. /users, /info etc. And also I have react app inside my spring-boot-app, that makes call to that endpoints. But I’m getting [Rejected incoming request for controller requiring JWT authentication] and I’ve also have added authentication type JWT in my descriptor file and passed the “@AuthenticationPrincipal AtlassianHostUser hostUser” parameter to my controller method.

Here I can see that can use AP.context.getToken()

So if I use AP.context.getToken()` I will be able to make controller calls from my service, right? In this case it will check with @AuthenticationPrincipal AtlassianHostUser hostUser and should give me success result. Because for now I have to use @IgnoreJwt to get success response