Skip to content

Custom headers for requests to tile server #267

@jthetzel

Description

@jthetzel

How can we add custom headers for requests to the tile server?

We use titiler with cloud optimized geotiffs for tiles and often authenticate the titiler server with an authentication bearer token in the http request headers. For example, our titiler server expects a header of the form {"Authorization": "Bearer jwt-token-here"} . Is this currently supported by contextily?

As a workaround, we currently use a modified branch of contextily reperesented in this pull request: #266 .

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