Skip to content

Feature Request: One-click Cloudflare Permanent Domain Configuration #35

@dreamwinglet

Description

@dreamwinglet

Summary

Currently, configuring a permanent domain for ClawBridge requires manual token entry. We should implement a more user-friendly 'One-click Authorization' flow using the official Cloudflare Tunnel authorization mechanism.

Proposed Workflow

  1. User Interface: Add an input field in the configuration modal/overlay where users can enter their desired permanent domain (e.g., agent.example.com).
  2. Requirement: The domain must be a zone already managed by the user on Cloudflare DNS.
  3. One-click Authorization: Provide an 'Authorize with Cloudflare' button.
  4. Cloudflare Flow:
    • Clicking the button initiates the cloudflared tunnel login flow.
    • The user is redirected to the Cloudflare dashboard to select their zone and authorize the origin.
    • Once authorized, a certificate is installed, allowing ClawBridge to automatically create and manage the tunnel for that specific domain.

Visual Reference

The flow should resemble the standard Cloudflare Tunnel authorization success screen:

Image
(Note: The goal is to reach the state where 'Cloudflared has installed a certificate allowing your origin to create a Tunnel on this zone.')

Benefits

  • Significantly lowers the barrier to entry for non-technical users.
  • Reduces manual copy-pasting of long tunnel tokens.
  • Ensures valid domain/zone association from the start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions