Skip to content

GitHub provider should always use customFetch #12291

Closed
@bertrand-riviere

Description

@bertrand-riviere

Provider type

GitHub

Environment

          "next": "15.0.3",
          "react": "18.3.1",
          "next-auth": "5.0.0-beta.25"

          OS: Windows 11
          Node.js: 20.11.1

Reproduction URL

none

Describe the issue

Hello,

customFetch is not used here which prevent from using it behind a corporate proxies for instance:

const res = await fetch(`${apiBaseUrl}/user/emails`, {

          const res = await fetch(`${apiBaseUrl}/user/emails`, {

How to reproduce

configure customFetch for GitHub

Expected behavior

customFetch should be used for all fetch operations

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinginvalid reproductionThe issue did not have a detectable valid reproduction URLproviderstriageUnseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions