I have a problem in calling a service in apiman-gateway with the Authorization: Bearer <token> in the header.
It seems to preflight OPTIONS and return
I am sending the bearer token with the request and i make sure in the preflight its sent in the request.
Does anyone know if there Is something i'm missing ? do i need to get authorization enabled or added anywhere ? as a side note i have below in my api as well:
response.setHeader("Access-Control-Allow-Headers", "Authorization");