(value: string)
| 433 | "the web base URL / request origin as `${webBaseUrl}${mountPrefix}/oauth/callback`)."; |
| 434 | |
| 435 | const canonicalUrlString = (value: string): string => { |
| 436 | const url = new URL(value.trim()); |
| 437 | url.hash = ""; |
| 438 | return url.toString(); |
| 439 | }; |
| 440 | |
| 441 | const oauthMetadataMatchesClient = ( |
| 442 | client: Pick<LoadedOAuthClient, "authorizationUrl" | "tokenUrl">, |
no test coverage detected