Skip to content

Comment is Incorrect, please revise it #795

@tjweaver

Description

@tjweaver

oauth2/oauth2.go

Lines 346 to 348 in 792c877

// Note that if a custom [*http.Client] is provided via the [context.Context] it
// is used only for token acquisition and is not used to configure the
// [*http.Client] returned from NewClient.

This comment seems to be incorrect and misleading. The actual http client will use the one that is provided in the context.Context if there is one.

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