Skip to content

feat: replace signup invite step with domain join step - #12767

Merged
sjaanus merged 1 commit into
mainfrom
worktree-signup-remove-invite
Nov 3, 2026
Merged

sjaanus merged 1 commit into
mainfrom
worktree-signup-remove-invite

Conversation

@sjaanus

@sjaanus sjaanus commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

About the changes

Removes the "Invite your team" step from the signup flow and moves the email-domain auto-join setting to its own screen.

image

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@github-project-automation github-project-automation Bot moved this from New to Approved PRs in Issues and PRs Nov 3, 2026
@sjaanus
sjaanus merged commit c70aba6 into main Nov 3, 2026
23 checks passed
@sjaanus
sjaanus deleted the worktree-signup-remove-invite branch November 3, 2026 11:43
@github-project-automation github-project-automation Bot moved this from Approved PRs to Done in Issues and PRs Nov 3, 2026
vladimirsvicevicsrb pushed a commit to vladimirsvicevicsrb/unleash that referenced this pull request Nov 4, 2026
## About the changes

Removes invite-by-email from the signup flow, end to end.

**Backend**
- `SignupService.submitSignupData` no longer accepts `inviteEmails`; the
private `inviteUser` helper and the admin-only invite permission check
are removed.
- `inviteEmails` is removed from `submitSignupDataSchema` (and the
generated frontend model). The schema has `additionalProperties: false`,
so requests that still include it are now rejected with 400.

**Frontend** (same change as Unleash#12767, included here so the
UI and API ship together)
- The "Invite your team" step is removed, and the signup payload no
longer sends `inviteEmails`.
- The email-domain auto-join toggle moves to its own "Let your team
join" step, shown to admins on first company setup when the instance has
`ucaSignup` and an `emailDomain`.

**Tests**
- Removed the invite e2e tests and dropped `inviteEmails: []` from the
remaining signup payloads.
- Signup step tests cover the new domain step conditions.

### Important files

- `enterprise/src/signup/signup-service.ts`
- `oss/src/lib/openapi/spec/submit-signup-data-schema.ts`
- `oss/frontend/src/component/signup/SignupDialog/SignupDialog.tsx`

## Discussion points

Unleash#12767 contains the identical frontend change; it can be
closed in favour of this PR, or merged — the OSS sync will reconcile the
identical hunks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants