(value: string)
| 362 | "the web base URL / request origin as `${webBaseUrl}${mountPrefix}/oauth/callback`)."; |
| 363 | |
| 364 | const canonicalUrlString = (value: string): string => { |
| 365 | const url = new URL(value.trim()); |
| 366 | url.hash = ""; |
| 367 | return url.toString(); |
| 368 | }; |
| 369 | |
| 370 | const isWellKnownOAuthMetadataUrl = (value: string): boolean => { |
| 371 | const path = new URL(value.trim()).pathname.toLowerCase(); |
no test coverage detected