---
title: "openid-client 6.9.0 Breaking Changes on npm | Since.dev"
description: "What each openid-client release removed, renamed or changed: 32 breaking changes in 7 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/openid-client
last_updated: 2026-12-04
---

# openid-client breaking changes

openid-client 6.9.0 (November 13, 2026) is its newest release with breaking changes, 8 of them. The first: Signature changed authorizationCodeGrant. Every breaking API change we have recorded in openid-client on npm: 32 breaking changes in 7 versions. Below, its 7 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `6.9.1`, released November 20, 2026. [Source repository](https://github.com/panva/openid-client)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [6.4.1](#v-6-4-1) to [6.9.0](#v-6-9-0): 29 breaking changes in 6 versions.

## openid-client 6.9.0 breaking changes

openid-client 6.9.0, released November 13, 2026: 8 breaking changes.

- **Signature changed** `authorizationCodeGrant`  

Was function authorizationCodeGrant(config: Configuration, currentUrl: URL | Request, checks?: AuthorizationCodeGrantChecks, tokenEndpointParameters?: URLSearchParams | Record\<string, string>, options?: AuthorizationCodeGrantOptions)... [npmjs.com](https://www.npmjs.com/package/openid-client/v/6.9.0)
- **Signature changed** `fetchUserInfo`  

Was function fetchUserInfo(config: Configuration, accessToken: string, expectedSubject: string | typeof skipSubjectCheck, options?: DPoPOptions): Promise\<oauth.UserInfoResponse>; now function fetchUserInfo(config: Configuration... [npmjs.com](https://www.npmjs.com/package/openid-client/v/6.9.0)
- **Signature changed** `genericGrantRequest`  

Was function genericGrantRequest(config: Configuration, grantType: string, parameters: URLSearchParams | Record\<string, string>, options?: DPoPOptions): Promise\<oauth.TokenEndpointResponse & TokenEndpointResponseHelpers>; now function... [npmjs.com](https://www.npmjs.com/package/openid-client/v/6.9.0)
- **Signature changed** `implicitAuthentication`  

Was function implicitAuthentication(config: Configuration, currentUrl: URL | Request, expectedNonce: string, checks?: ImplicitAuthenticationResponseChecks): Promise\<oauth.IDToken>; now function implicitAuthentication(config: Configuration... [npmjs.com](https://www.npmjs.com/package/openid-client/v/6.9.0)
- **Signature changed** `pollBackchannelAuthenticationGrant`  

Was function pollBackchannelAuthenticationGrant(config: Configuration, backchannelAuthenticationResponse: oauth.BackchannelAuthenticationResponse, parameters?: URLSearchParams | Record\<string, string>, options?... [npmjs.com](https://www.npmjs.com/package/openid-client/v/6.9.0)
- **Signature changed** `pollDeviceAuthorizationGrant`  

Was function pollDeviceAuthorizationGrant(config: Configuration, deviceAuthorizationResponse: oauth.DeviceAuthorizationResponse, parameters?: URLSearchParams | Record\<string, string>, options?: DeviceAuthorizationGrantPollOptions)... [npmjs.com](https://www.npmjs.com/package/openid-client/v/6.9.0)
- **Signature changed** `refreshTokenGrant`  

Was function refreshTokenGrant(config: Configuration, refreshToken: string, parameters?: URLSearchParams | Record\<string, string>, options?: DPoPOptions): Promise\<oauth.TokenEndpointResponse & TokenEndpointResponseHelpers>; now function... [npmjs.com](https://www.npmjs.com/package/openid-client/v/6.9.0)
- **Signature changed** `tokenIntrospection`  

Was function tokenIntrospection(config: Configuration, token: string, parameters?: URLSearchParams | Record\<string, string>): Promise\<oauth.IntrospectionResponse>; now function tokenIntrospection(config: Configuration, token: string... [npmjs.com](https://www.npmjs.com/package/openid-client/v/6.9.0)

## openid-client 6.8.9 breaking changes

openid-client 6.8.9, released November 2, 2026: 1 breaking change.

- **Signature changed** `ConfigurationProperties.timeout`  

Was timeout?: number; now timeout?: number | undefined. [npmjs.com](https://www.npmjs.com/package/openid-client/v/6.8.9)

## openid-client 6.8.8 breaking changes

openid-client 6.8.8, released September 5, 2026: 1 breaking change.

- **Behavior changed**  

Requests now use a default HTTP timeout, so slow requests may fail where they previously waited indefinitely. Set an explicit timeout if your requests need longer. [github.com](https://github.com/panva/openid-client/releases/tag/v6.8.8)

## openid-client 6.8.5 breaking changes

openid-client 6.8.5, released August 11, 2026: 8 breaking changes.

- **Removed** `CryptoKeyPair.privateKey`  

CryptoKeyPair.privateKey was removed in openid-client 6.8.5 [npmjs.com](https://www.npmjs.com/package/openid-client/v/6.8.5)
- **Removed** `CryptoKeyPair.publicKey`  

CryptoKeyPair.publicKey was removed in openid-client 6.8.5 [npmjs.com](https://www.npmjs.com/package/openid-client/v/6.8.5)
- **Signature changed** `buildAuthorizationUrlWithJAR`  

Was function buildAuthorizationUrlWithJAR(config: Configuration, parameters: URLSearchParams | Record\<string, string>, signingKey: CryptoKey | oauth.PrivateKey, options?: oauth.ModifyAssertionOptions): Promise\<URL>; now function... [npmjs.com](https://www.npmjs.com/package/openid-client/v/6.8.5)
- **Signature changed** `DecryptionKey.key`  

Was key: CryptoKey; now key: oauth.CryptoKey. [npmjs.com](https://www.npmjs.com/package/openid-client/v/6.8.5)
- **Signature changed** `enableDecryptingResponses`  

Was function enableDecryptingResponses(config: Configuration, contentEncryptionAlgorithms?: string\[\], ...keys: Array\<CryptoKey | DecryptionKey>): void; now function enableDecryptingResponses(config: Configuration... [npmjs.com](https://www.npmjs.com/package/openid-client/v/6.8.5)
- **Signature changed** `getDPoPHandle`  

Was function getDPoPHandle(config: Configuration, keyPair: CryptoKeyPair, options?: oauth.ModifyAssertionOptions): DPoPHandle; now function getDPoPHandle(config: Configuration, keyPair: oauth.CryptoKeyPair, options?... [npmjs.com](https://www.npmjs.com/package/openid-client/v/6.8.5)
- **Signature changed** `PrivateKeyJwt`  

Was function PrivateKeyJwt(clientPrivateKey: CryptoKey | oauth.PrivateKey, options?: oauth.ModifyAssertionOptions): ClientAuth; now function PrivateKeyJwt(clientPrivateKey: oauth.CryptoKey | oauth.PrivateKey, options?... [npmjs.com](https://www.npmjs.com/package/openid-client/v/6.8.5)
- **Signature changed** `randomDPoPKeyPair`  

Was function randomDPoPKeyPair(alg?: string, options?: oauth.GenerateKeyPairOptions): Promise\<CryptoKeyPair>; now function randomDPoPKeyPair(alg?: string, options?: oauth.GenerateKeyPairOptions): Promise\<oauth.CryptoKeyPair>. [npmjs.com](https://www.npmjs.com/package/openid-client/v/6.8.5)

## openid-client 6.6.1 breaking changes

openid-client 6.6.1, released June 21, 2025: 1 breaking change.

- **Behavior changed**  

The release reverts the redirect response to 302 instead of 303, which 6.6.0 had introduced. Code that depends on the 303 status must be updated. [github.com](https://github.com/panva/openid-client/releases/tag/v6.6.1)

## openid-client 6.6.0 breaking changes

openid-client 6.6.0, released June 21, 2025: 10 breaking changes.

- **Behavior changed**  

When using hybrid response types, the passport strategy now selects the form_post response mode on its own. Check existing hybrid flows that assumed another response mode. [github.com](https://github.com/panva/openid-client/releases/tag/v6.6.0)
- **Behavior changed**  

The passport strategy now uses callbackURL the same way as other strategies. Review existing callbackURL settings to confirm they still resolve as intended. [github.com](https://github.com/panva/openid-client/releases/tag/v6.6.0)
- **Behavior changed**  

The passport strategy's redirect now returns 303 See Other instead of the previous status code. Code that depends on the old redirect status should be updated. [github.com](https://github.com/panva/openid-client/releases/tag/v6.6.0)
- **Signature changed** `passport:Strategy.authenticate`  

Was authenticate\<TOptions extends passport.AuthenticateOptions = passport.AuthenticateOptions>(this: passport.StrategyCreated\<Strategy, Strategy & passport.StrategyCreatedStatic>, req: express.Request, options: TOptions): void; now... [npmjs.com](https://www.npmjs.com/package/openid-client/v/6.6.0)
- **Signature changed** `passport:Strategy.authorizationCodeGrantParameters`  

Was authorizationCodeGrantParameters\<TOptions extends passport.AuthenticateOptions = passport.AuthenticateOptions>(req: express.Request, options: TOptions): URLSearchParams | Record\<string, string> | undefined; now... [npmjs.com](https://www.npmjs.com/package/openid-client/v/6.6.0)
- **Signature changed** `passport:Strategy.authorizationRequestParams`  

Was authorizationRequestParams\<TOptions extends passport.AuthenticateOptions = passport.AuthenticateOptions>(req: express.Request, options: TOptions): URLSearchParams | Record\<string, string> | undefined; now... [npmjs.com](https://www.npmjs.com/package/openid-client/v/6.6.0)
- **Signature changed** `passport:StrategyOptions.callbackURL`  

Was callbackURL?: string; now callbackURL?: URL | string. [npmjs.com](https://www.npmjs.com/package/openid-client/v/6.6.0)
- **Signature changed** `passport:StrategyOptions.useJAR`  

Was useJAR?: false | client.CryptoKey | PrivateKey | \[client.CryptoKey | PrivateKey, client.ModifyAssertionFunction\]; now useJAR?: false | client.CryptoKey | client.PrivateKey | \[client.CryptoKey | client.PrivateKey... [npmjs.com](https://www.npmjs.com/package/openid-client/v/6.6.0)
- **Signature changed** `passport:StrategyOptionsWithRequest.callbackURL`  

Was callbackURL?: string; now callbackURL?: URL | string. [npmjs.com](https://www.npmjs.com/package/openid-client/v/6.6.0)
- **Signature changed** `passport:StrategyOptionsWithRequest.useJAR`  

Was useJAR?: false | client.CryptoKey | PrivateKey | \[client.CryptoKey | PrivateKey, client.ModifyAssertionFunction\]; now useJAR?: false | client.CryptoKey | client.PrivateKey | \[client.CryptoKey | client.PrivateKey... [npmjs.com](https://www.npmjs.com/package/openid-client/v/6.6.0)

## Older versions

1 older version, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### openid-client 6.4.1 breaking changes

openid-client 6.4.1, released April 3, 2025: 3 breaking changes.

- **Signature changed** `ClientSecretBasic`  

Was function ClientSecretBasic(clientSecret: string): ClientAuth; now function ClientSecretBasic(clientSecret?: string): ClientAuth. [npmjs.com](https://www.npmjs.com/package/openid-client/v/6.4.1)
- **Signature changed** `ClientSecretJwt`  

Was function ClientSecretJwt(clientSecret: string, options?: oauth.ModifyAssertionOptions): ClientAuth; now function ClientSecretJwt(clientSecret?: string, options?: oauth.ModifyAssertionOptions): ClientAuth. [npmjs.com](https://www.npmjs.com/package/openid-client/v/6.4.1)

And 1 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
