Update auth.ts

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Olivier Chafik 2025-07-09 18:09:23 +01:00
commit c90537703b
No known key found for this signature in database

View file

@ -358,9 +358,9 @@ function shouldAttemptFallback(response: Response | undefined, pathname: string)
export async function discoverOAuthMetadata(
issuer: string | URL,
{
authorizationServerUrl
authorizationServerUrl,
}: {
authorizationServerUrl?: string | URL
authorizationServerUrl?: string | URL,
} = {},
): Promise<OAuthMetadata | undefined> {
if (typeof issuer === 'string') {