Bearer Token Authentication
Set up bearer token authentication in Generic Extractor: a token sent in the Authorization header, in the UI or built with the concat function in JSON.
This method is available through UI. You can select the Bearer Token method and fill in the token.

In the underlying JSON, the Bearer Token is implemented as follows:
Place your token into the config.#__BEARER_TOKEN parameter. The Authorization header is then constructed using the concat function.
{ "api": { ..., "http": { "headers": { "Authorization": { "function": "concat", "args": [ "Bearer ", { "attr": "#__BEARER_TOKEN" } ] } } } }, "config": { "#__BEARER_TOKEN": "secret", "jobs": [...] }}Was this page helpful?
Thank you for helping improve Keboola's documentation!