Skip to content

Some internal http client call rely on methods that do not support context #769

Open
@gdbranco

Description

@gdbranco

What

Current implementation for oauth2 repo, specifically jwt, jira and google/downscope packages rely on .PostForm function which does not allow to specify a context.

Problem

Forwarding the context provides consumers more control over timeout/cancel, allows to leverage context values in log message wrappers etc

Proposal

The context is available within the function and preferably should be used to give more control to the consumer

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