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

Tika 4237 add jwt authentication ability to the http fetcher #1712

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

nddipiazza
Copy link
Contributor

@nddipiazza nddipiazza commented Apr 5, 2024

Add new parameters in the HttpFetcher so that it can properly handle JWT bearer token generation.

JWT generation via secret key and private key.

  • String jwtIssuer
  • String jwtSubject
  • int jwtExpiresInSeconds

and then you can specify:

  • String jwtSecret
    or
  • String jwtPrivateKeyBase64

When specified, the authorization header will be added to all requests.

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