{"version":"2.1.257","anchor":"oidcoauth-endpoint-urls-are-now-validated-with-urlcanparse","canonical_anchor":"oidcoauth-endpoint-urls-are-now-validated-with-urlcanparse","heading":"OIDC\/OAuth endpoint URLs are now validated with URL.canParse before use","tier":"notice","area":"Auth","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.257\/e\/oidcoauth-endpoint-urls-are-now-validated-with-urlcanparse","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.257","markdown":"### OIDC\/OAuth endpoint URLs are now validated with URL.canParse before use\n\nAn invalid OIDC issuer now gives a clear not-a-valid-URL error instead of an uncaught exception.\n\nOIDC discovery and token-exchange code paths now check `URL.canParse()` on the well-known\/token endpoint URL before constructing a `URL` object. An invalid issuer now surfaces a clear \"issuer is not a valid URL\" error instead of an uncaught exception from URL construction.\n\n- Area: Auth\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5"}