To enable the use of a bearer token in your API:
- Navigate to your API via “System Management” -> “APIs” -> Select your API
- Scroll to the bottom where it says “Target details”
- Select the “Auth Token” option:
Tyk will by default assume you are using the
Authorization header, but you can change this by setting the header value here.
You can also select whether to use the header and a query string parameter, and what parameter to use.