Skip to content

Apikey header name #220

@mutantsan

Description

@mutantsan

Currently, we set the both headers - Authorization and X-CKAN-API-Key.

Some other plugins use the ckanapi for the RemoteCKAN client. Like the ckanext-syndicate, for example. And in the situation, when the remote portal is protected with the "Basic" HTTP authentication, we can't pass both basic auth authorization and ckan apikey.

Also, because we have this config option, the portal can use any header name for API token, and that's why we should make it configurable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions