I am trying to add authentication on the server side on a REST API. It is required that the client will be transmitting the JWT (Json Web Token) on a header named x-access-token. eg.
Content-Type: application/json
X-Access-Token: ...<JWT>...
Unfortunately, all the examples I found in internet about .net web API talk about Authorization Bearer, like:
Content-Type: application/json
Authorization: Bearer ...<JWT>...
Does anyone have any example of how I can make a server app to authorize access only with the appropriate x-access-token key?