Skip to content

Dashboard webhook URL validation rejects valid URLs without a TLD #6567

Description

@digitalby

Description

The webhook configuration page in the RevenueCat dashboard rejects URLs that don't include a top-level domain, showing:

Please enter a URL that starts with "https://" and includes a host and top-level domain.

This prevents using valid HTTPS URLs like https://myhost.ts.net:3000/webhook or IP-based URLs like https://100.68.18.78:3000/webhook, which are common in self-hosted and Tailscale setups.

Expected behavior

Any valid HTTPS URL should be accepted. The webhook delivery infrastructure doesn't need a TLD to issue an HTTP request. The current validation appears to be an overly strict client-side regex rather than a hard backend requirement.

Steps to reproduce

  1. Go to Project Settings > Integrations > Webhooks
  2. Enter a valid HTTPS URL that uses an IP address or a hostname without a traditional TLD (e.g. .ts.net, .local, or an IP)
  3. Observe the validation error

Context

Filing here since there's no dedicated repo for dashboard issues. Happy to move this if there's a better place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions