diff --git a/src/client/auth.ts b/src/client/auth.ts index b54261d3..f77efe88 100644 --- a/src/client/auth.ts +++ b/src/client/auth.ts @@ -489,8 +489,10 @@ export async function discoverOAuthMetadata( issuer: string | URL, { authorizationServerUrl, + protocolVersion, }: { authorizationServerUrl?: string | URL, + protocolVersion?: string, } = {}, ): Promise { if (typeof issuer === 'string') {