-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
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
- User Interface: Add an input field in the configuration modal/overlay where users can enter their desired permanent domain (e.g.,
agent.example.com). - Requirement: The domain must be a zone already managed by the user on Cloudflare DNS.
- One-click Authorization: Provide an 'Authorize with Cloudflare' button.
- Cloudflare Flow:
- Clicking the button initiates the
cloudflared tunnel loginflow. - 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.
- Clicking the button initiates the
Visual Reference
The flow should resemble the standard Cloudflare Tunnel authorization success screen:

(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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels