Skip to content

Conversation

ferrazoli
Copy link
Contributor

Currently, the documentation provides instructions on how to build a bearer token provider, which assumes that tokens are short-lived and must be refreshed after some time. However, some REST APIs offer a bearer token authentication mechanism that relies on the API key/secret instead of short-lived tokens. Since this is a somewhat common use case, and given that we also have an existing implementation for basic auth, I feel like it makes sense to have this implementation offered out of the box too.

Examples:

Currently, the documentation provides instructions on how to build a
bearer token provider, which assumes that tokens are short-lived and
must be refreshed after some time. However, some REST APIs offer a
bearer token authentication mechanism that relies on the API key/secret
instead of short-lived tokens. Since this is a somewhat common use case,
I feel like it makes sense to have this implementation offered out of
the box.
@SentryMan SentryMan requested a review from rbygrave January 12, 2025 02:24
@rbygrave rbygrave added this to the 3.0 milestone Jan 12, 2025
@rbygrave rbygrave merged commit d7e0b40 into avaje:master Jan 12, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants