Skip to content

Conversation

@bokelley
Copy link
Contributor

@bokelley bokelley commented Jan 4, 2026

Summary

  • Domain linking from domain health page now stays on page with inline success/failure feedback instead of navigating away
  • Strip www. prefix when normalizing domains (both on input and in database queries) to prevent duplicate entries
  • Handle existing domains in WorkOS: verify instead of attempting to add a duplicate
  • Add Verify button for unverified domains on org detail page
  • Allow removing any domain (not just manual ones)
  • Add orgId validation before API calls for security

Test plan

  • Go to /admin/domain-health.html and click "Link to [Org]" - should show "Linking...", then "Linked!" in green, then reload
  • Try linking a domain with www. prefix - should be normalized and not create duplicates
  • Go to an org detail page with unverified domains - should see "Verify" button
  • Click Verify on an unverified domain - should update to verified state
  • Click Remove on any domain (including WorkOS-sourced) - should work

🤖 Generated with Claude Code

- Domain linking now stays on page with inline success/failure feedback
- Strip www. prefix when normalizing domains (both on input and in queries)
- Handle existing domains in WorkOS: verify instead of duplicate add
- Add Verify button for unverified domains on org detail page
- Allow removing any domain (not just manual ones)
- Add orgId validation before API calls

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@bokelley bokelley merged commit cb8f14a into main Jan 4, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants