Skip to content

Conversation

@xfalcox
Copy link
Member

@xfalcox xfalcox commented Jan 15, 2026

Allows users without a domain to claim a free *.discourse.diy subdomain through Discourse ID.

Flow:

  1. After entering admin email, user is asked if they have a domain
  2. If no: guided to id.discourse.com to claim subdomain and get verification code
  3. Wizard verifies with API and sets hostname automatically

Changes:

  • Add constants.rb with Discourse ID URLs
  • Update prompts.rb with domain choice and verification flow

Allow users without a domain to claim a free *.discourse.diy subdomain
through Discourse ID verification instead of requiring their own domain.
@xfalcox xfalcox marked this pull request as draft January 15, 2026 20:52
Copy link
Contributor

@pmusaraj pmusaraj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@ui.section("Review Configuration")

hostname_display = @values[:hostname]
hostname_display += " (free subdomain)" if @values[:free_subdomain]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extremely minor, not sure we need the indication here.

@xfalcox xfalcox marked this pull request as ready for review January 19, 2026 18:04
@xfalcox xfalcox merged commit 1cdb581 into main Jan 19, 2026
9 checks passed
@xfalcox xfalcox deleted the discourse-id-subdomain branch January 19, 2026 18:04
@pfaffman
Copy link
Contributor

pfaffman commented Jan 19, 2026

Excited to check this out. I'm getting a 404 error when I try to get a subdomain from id.discourse.com. I tried a handful. Maybe because I don't have a password and only have Google login?

image

@pmusaraj
Copy link
Contributor

We're working on it @pfaffman, thanks for the quick check!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants