Skip to content

Add http agent support to JWT Auth #50

Description

@mutaphysis

Expected Behaviour

JWT Auth works with custom http agent to support eg. proxy servers or custom dns resolving

Actual Behaviour

JWT uses node-fetch without any means to configure the http agent

Description

Some IT environments have additional requirements such as forcing users to use a http proxy with authentication or having other custom requirements. For this node-fetch foresees passing in an agent option, that allows custom network handling. See https://github.com/node-fetch/node-fetch#custom-agent https://nodejs.org/api/http.html#http_class_http_agent .

I propose extending the options of auth to allow setting an agent.

framefield@7e57f0d

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions