Skip to content

Added support for Bearer token in rest connector#3

Open
koudi wants to merge 1 commit intoEvolveum:masterfrom
koudi:rest-bearer-token
Open

Added support for Bearer token in rest connector#3
koudi wants to merge 1 commit intoEvolveum:masterfrom
koudi:rest-bearer-token

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

Signed-off-by: Jakub Koudelka <koudelka.j@gmail.com>
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