Skip to content

Send "Authorization" header with requests to the backend #262

@mathio

Description

@mathio

The issue

We have a VRT backend deployed. However it requires Authorization header for access in order not to be publicly accessible for anyone.

Proposed solution

Add optional "authHeader" setting / VRT_AUTH_HEADER env variable. If present, its value can be added to the AxiosRequestConfig as Authorization header to ensure it is sent with all requests to the backend.

This allows the backend not to be publicly available. It provides support for any Authorization type since the full value of the header is provided from the config.

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