(value: string)
| 539 | "the web base URL / request origin as `${webBaseUrl}${mountPrefix}/oauth/callback`)."; |
| 540 | |
| 541 | const canonicalUrlString = (value: string): string => { |
| 542 | const url = new URL(value.trim()); |
| 543 | url.hash = ""; |
| 544 | return url.toString(); |
| 545 | }; |
| 546 | |
| 547 | const oauthMetadataMatchesClient = ( |
| 548 | client: Pick<LoadedOAuthClient, "authorizationUrl" | "tokenUrl">, |
no test coverage detected