HTTP request headers are overwritten by authentication plugin

Created on 22 August 2022, almost 2 years ago
Updated 14 June 2024, 11 days ago

Problem/Motivation

When HTTP request headers are provided, and an authentication plugin is used that adds headers, e.g. the Authorization header, the former is overwritten by the latter.

Steps to reproduce

1. Create a migration with HTTP data fetcher and OAuth2 authentication plugin.
2. Specify a header in the migration.
3. Run the migration.
4. See only the Authorization is present.

Proposed resolution

Deep merge request options.

Remaining tasks

Maybe add some tests?

User interface changes

None.

API changes

None.

Data model changes

None.

πŸ› Bug report
Status

Fixed

Version

6.0

Component

Plugins

Created by

πŸ‡³πŸ‡±Netherlands JaZo

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024