ProBusinessEnterprise

Setting Up Allowed Origins (CORS)

Why You Need an Allowed Origins List

The allowed origins list (allowlist) protects your registration form from being used on unauthorized websites. Without this restriction, anyone could copy the widget code and embed your form on their own site.

This feature is available on the Pro, Business, and Enterprise plans.

How to Add a Domain

  1. Open the event in tikento.
  2. Go to the "Registration" tab -> "Widget for Website" section.
  3. Click "Manage Origins".
  4. Click "+ Add Domain".
  5. Enter the domain and click "Save".

Changes take effect immediately -- no page reload is required for the widget.

Domain Entry Formats

EntryWhat It Allows
yourdomain.comApex domain only (no www)
www.yourdomain.comwww version only
*.yourdomain.comAll subdomains (but not the apex itself)
yourdomain.com + *.yourdomain.comApex + all subdomains
yoursite.tilda.wsA specific Tilda subdomain

Examples

If your site is conference.example.com:

  • Add: conference.example.com

If you have multiple subdomains (events.example.com, tickets.example.com):

  • Add: *.example.com (or each subdomain individually)

If your site is on Tilda with a custom domain myevent.com:

  • Add: myevent.com and www.myevent.com

Protocols

Domain permissions automatically apply to both protocols -- http:// and https://. You do not need to specify the protocol when entering a domain.

Localhost for Development

To test the widget locally, add:

  • localhost
  • 127.0.0.1
  • localhost:3000 (or your port)

We recommend removing localhost from the list before going to production.

Per-Ticket-Type Restrictions

By default, the allowlist applies to the entire event widget. Individual ticket types cannot have separate lists -- the restriction operates at the event level.

Cache Invalidation

tikento caches the allowed domains list in Redis (TTL 300 seconds). After adding a new domain, the change takes effect within 5 minutes at most, with no additional action required on your part. When widget settings are updated, the cache is invalidated immediately.

Frequently asked questions

Do I need to configure CORS on the Free plan?
No. On the Free plan, the allowed origins list is not enforced -- the widget works on any domain. Origin restrictions are available starting with the Pro plan.
What happens if a domain is not added to the list?
Requests from an unknown domain will be blocked, the widget will not load, and the user will see an empty block. Make sure you've added all needed domains, including both www and non-www versions.
Can I allow all subdomains at once?
Yes. Use wildcard syntax: *.yourdomain.com will allow all subdomains. The apex domain (yourdomain.com) must be added separately.