We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e45492a commit bdb4019Copy full SHA for bdb4019
packages/core/src/providers/oauth.ts
@@ -239,9 +239,7 @@ export interface OAuth2Config<Profile>
239
export interface OIDCConfig<Profile>
240
extends Omit<OAuth2Config<Profile>, "type" | "checks"> {
241
type: "oidc"
242
- checks?: Array<
243
- Exclude<OAuth2Config<Profile>["checks"], undefined>[number] | "nonce"
244
- >
+ checks?: Array<NonNullable<OAuth2Config<Profile>["checks"]>[number] | "nonce">
245
}
246
247
export type OAuthConfig<Profile> = OIDCConfig<Profile> | OAuth2Config<Profile>
0 commit comments