(value: string)
| 422 | "the web base URL / request origin as `${webBaseUrl}${mountPrefix}/oauth/callback`)."; |
| 423 | |
| 424 | const canonicalUrlString = (value: string): string => { |
| 425 | const url = new URL(value.trim()); |
| 426 | url.hash = ""; |
| 427 | return url.toString(); |
| 428 | }; |
| 429 | |
| 430 | const oauthMetadataMatchesClient = ( |
| 431 | client: Pick<LoadedOAuthClient, "authorizationUrl" | "tokenUrl">, |
no test coverage detected