Skip to content

options.customFetch is not included in jwks.fetchJwks call #760

@tripodsan

Description

@tripodsan

What happened?

since 6.0, the remote jwks always uses the global fetch. the suggested options.customFetch doesn't work, as it is not passed to the fetchJwks method:

signal: AbortSignal.timeout(this._timeoutDuration),

Version

6.0.0

Runtime

Node.js

Runtime Details

$ node --version v22.12.0

Code to reproduce

.

Required

  • I have searched the issues tracker and discussions for similar topics and couldn't find anything related.
  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions