I\'ve created a custom authorize filter which looks like this:
public class BearerTokenAuthorizeFilter : AuthorizeFilter { public override async T