Skip to content

2156 feature implement invitation flow for users without an account#2185

Merged
KarinePistili merged 11 commits into
developfrom
2156-feature-implement-invitation-flow-for-users-without-an-account
Jul 15, 2026
Merged

2156 feature implement invitation flow for users without an account#2185
KarinePistili merged 11 commits into
developfrom
2156-feature-implement-invitation-flow-for-users-without-an-account

Conversation

@KarinePistili

@KarinePistili KarinePistili commented Jul 13, 2026

Copy link
Copy Markdown
Member

Description

This PR implements a token-based invitation flow for users who do not yet have an account, providing a smoother onboarding experience while reusing the existing invitation acceptance flow.

Changes

  • Added support for secure invitation tokens stored in Firestore.
  • Implemented the new /invites/:token flow.
  • Added invitation validation before allowing access.
  • Preserved the invitation token during the sign-in/sign-up process and automatically resumed the flow after authentication.
  • Added support for both private (email-restricted) and public invitations.
  • Added a pending invitation dialog displayed after authentication when applicable.
  • Stored deferred invitations as user notifications when the user chooses to accept them later.
  • Added invitation metadata (studyTitle, isPublic, etc.) to improve the user experience.
  • Updated the invitation UI and localization strings.

Result

  • Invited users can create an account and continue the invitation flow without losing context.
  • Invitations are validated before acceptance.
  • Users who postpone accepting an invitation can access it later through their notifications.
  • The implementation prepares the invitation system for future link-based invitation improvements.

Issue #2156

image image image image image

@github-actions

Copy link
Copy Markdown

⚠️ PR Description Issues Detected

Please update the PR description to address these issues.

@github-actions

Copy link
Copy Markdown

🚫 Too many open Pull Requests

You already have 3 open PRs in this repository.

Please finish or close existing PRs before opening new ones.

@github-actions github-actions Bot closed this Jul 15, 2026
@sonarqubecloud

Copy link
Copy Markdown

@KarinePistili
KarinePistili merged commit ec10d80 into develop Jul 15, 2026
19 of 20 checks passed
@KarinePistili
KarinePistili deleted the 2156-feature-implement-invitation-flow-for-users-without-an-account branch July 15, 2026 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[✨ FEATURE]: Implement invitation flow for users without an account

1 participant