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

Kestra HTTP client BEARER auth use BASIC #7740

Closed
nkwiatkowski opened this issue Mar 7, 2025 · 0 comments · Fixed by #7788
Closed

Kestra HTTP client BEARER auth use BASIC #7740

nkwiatkowski opened this issue Mar 7, 2025 · 0 comments · Fixed by #7788
Assignees
Labels
area/backend Needs backend code changes bug Something isn't working kind/backport-needed Issue that needs to be backported to a previous version

Comments

@nkwiatkowski
Copy link
Contributor

Describe the issue

When using Kestra HTTP client with BEARER auth, the client use BASIC auth.

Example to reproduce:

id: lion_584021
namespace: company.team
tasks:
  - id: callProspayOnboardingApi
    type: io.kestra.plugin.core.http.Request
    description: "Call Prospay onboarding API"
    uri: "https://httpbin.org/headers"
    method: GET
    options:
      auth:
        type: BEARER
        token: "test-123"
    headers:
      Content-Type: application/json; charset=UTF-8
      Authorization: 'Bearer test-123'
    body: |
      {
        "key":"value"
      }
    allowFailed: true
  - id: apiResponse
    type: io.kestra.plugin.core.debug.Return
    format: "{{ outputs.callProspayOnboardingApi }}"

Environment

  • Kestra Version: develop
@nkwiatkowski nkwiatkowski added bug Something isn't working area/backend Needs backend code changes area/frontend Needs frontend code changes labels Mar 7, 2025
@nkwiatkowski nkwiatkowski self-assigned this Mar 7, 2025
@github-project-automation github-project-automation bot moved this to Backlog in Issues Mar 7, 2025
@nkwiatkowski nkwiatkowski moved this from Backlog to In progress in Issues Mar 7, 2025
nkwiatkowski pushed a commit that referenced this issue Mar 10, 2025
nkwiatkowski added a commit that referenced this issue Mar 10, 2025
…because of allowFailed (#7788)

Co-authored-by: nKwiatkowski <nkwiatkowski@kestra.io>
@github-project-automation github-project-automation bot moved this from In progress to Done in Issues Mar 10, 2025
nkwiatkowski added a commit that referenced this issue Mar 10, 2025
…because of allowFailed (#7788)

Co-authored-by: nKwiatkowski <nkwiatkowski@kestra.io>
@nkwiatkowski nkwiatkowski added kind/backport-needed Issue that needs to be backported to a previous version and removed area/frontend Needs frontend code changes labels Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/backend Needs backend code changes bug Something isn't working kind/backport-needed Issue that needs to be backported to a previous version
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant