(value: string)
| 606 | "the web base URL / request origin as `${webBaseUrl}${mountPrefix}/oauth/callback`)."; |
| 607 | |
| 608 | const canonicalUrlString = (value: string): string => { |
| 609 | const url = new URL(value.trim()); |
| 610 | url.hash = ""; |
| 611 | return url.toString(); |
| 612 | }; |
| 613 | |
| 614 | const oauthMetadataMatchesClient = ( |
| 615 | client: Pick<LoadedOAuthClient, "authorizationUrl" | "tokenUrl">, |
no test coverage detected