(value: string)
| 409 | "the web base URL / request origin as `${webBaseUrl}${mountPrefix}/oauth/callback`)."; |
| 410 | |
| 411 | const canonicalUrlString = (value: string): string => { |
| 412 | const url = new URL(value.trim()); |
| 413 | url.hash = ""; |
| 414 | return url.toString(); |
| 415 | }; |
| 416 | |
| 417 | const isWellKnownOAuthMetadataUrl = (value: string): boolean => { |
| 418 | const path = new URL(value.trim()).pathname.toLowerCase(); |
no test coverage detected