MCP TypeScript SDK (V2)
    Preparing search index...
    • Validates a requested redirect_uri against a registered one.

      Per RFC 8252 ยง7.3 (OAuth 2.0 for Native Apps), authorization servers MUST allow any port for loopback redirect URIs (localhost, 127.0.0.1, [::1]) to accommodate native clients that obtain an ephemeral port from the OS. For non-loopback URIs, exact match is required.

      Parameters

      • requested: string
      • registered: string

      Returns boolean