Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for Bearer token in rest connector #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

koudi
Copy link

@koudi koudi commented Oct 27, 2022

It's not uncommon practice (for example [1], [2], [3]) to use token in form of "Authorization: Bearer <token>" HTTP header instead of custom one (which what connector-rest supports now with tokenName configuration).

This small patch adds ability to easily use this form.

[1] https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html
[2] https://social.technet.microsoft.com/wiki/contents/articles/53488.azure-rest-api-how-to-create-bearer-token.aspx
[3] https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_bearer.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant