useJWT DPoP support

Author: swantzterCreated Jan 31, 2026Updated Jan 31, 2026

Is your feature request related to a problem? Please describe.

Our Authentication providers, and more of them as time progresses, support DPoP for hardened security. It would be nice if useJWT supported this check

Describe the solution you'd like

  • A way to feed in an extractor for the DPoP header value (possibly just allowing ExtractTokenFunction to return { token: string, dpop?: string, prefix?: string }
  • The default extractor to check for DPoP authorization schemes in addition to Bearer, and if so also extract the DPoP header value
  • Verify the token and DPoP tokens

Describe alternatives you've considered

Writing a custom plugin

Additional context

Auth0 has a good example: https://auth0.com/docs/secure/sender-constraining/demonstrating-proof-of-possession-dpop

Source: graphql-hive/graphql-yoga