Skip to content

Don't override existing authentication headers #119

Description

@kwohlfahrt

I'd like to be able to run the extension to get the caching functionality, but do my own authentication. It seems like the auth header is added unconditionally - could this be changed to only add the header if it is not present in the original request?

My use case is a Lambda function that post-processes some PKI certificates produced by Vault. So the user will do their own authentication, and that should be passed through unaltered to Vault. Having the extension's cache functionality would be useful to reduce duplicate credentials created if the user refreshes the page.

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