Skip to content

fix(console): handle mismatched invitation token links#9088

Merged
charIeszhao merged 1 commit into
masterfrom
charles-log-13737-handle-mismatched-invitation-token
Jun 24, 2026
Merged

fix(console): handle mismatched invitation token links#9088
charIeszhao merged 1 commit into
masterfrom
charles-log-13737-handle-mismatched-invitation-token

Conversation

@charIeszhao

@charIeszhao charIeszhao commented Jun 24, 2026

Copy link
Copy Markdown
Member

Summary

Route signed-in mismatched users into the invitation one-time-token auth flow when the accept link includes one_time_token.

This keeps the fix behind the existing dev feature guard, so legacy accept links without one_time_token continue to use the existing manual switch-account page until the rollout PR removes the guard.

Testing

Unit tests

Checklist

  • .changeset
  • unit tests
  • integration tests
  • necessary TSDoc comments

Copilot AI review requested due to automatic review settings June 24, 2026 04:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

github-actions Bot commented Jun 24, 2026

Copy link
Copy Markdown

COMPARE TO master

Total Size Diff 📈 +3.92 KB

Diff by File
Name Diff
packages/console/src/pages/AcceptInvitation/index.test.tsx 📈 +3.42 KB
packages/console/src/pages/AcceptInvitation/index.tsx 📈 +509 Bytes

@github-actions github-actions Bot added size/m and removed size/m labels Jun 24, 2026
@charIeszhao charIeszhao force-pushed the charles-log-13737-handle-mismatched-invitation-token branch from 7c547ce to bcae58e Compare June 24, 2026 04:35
@charIeszhao charIeszhao requested a review from simeng-li as a code owner June 24, 2026 04:35
@charIeszhao charIeszhao changed the base branch from charles-log-13727-remove-invitation-guards to master June 24, 2026 04:35
@github-actions github-actions Bot added size/m and removed size/m labels Jun 24, 2026
@charIeszhao charIeszhao force-pushed the charles-log-13737-handle-mismatched-invitation-token branch from bcae58e to 80394a0 Compare June 24, 2026 04:41
Copilot AI review requested due to automatic review settings June 24, 2026 04:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions github-actions Bot added size/m and removed size/m labels Jun 24, 2026
@charIeszhao charIeszhao force-pushed the charles-log-13737-handle-mismatched-invitation-token branch from 80394a0 to a211ab1 Compare June 24, 2026 04:52
@github-actions github-actions Bot added size/m and removed size/m labels Jun 24, 2026
@charIeszhao charIeszhao force-pushed the charles-log-13737-handle-mismatched-invitation-token branch from a211ab1 to d27a153 Compare June 24, 2026 04:55
@github-actions github-actions Bot added size/m and removed size/m labels Jun 24, 2026
@charIeszhao charIeszhao merged commit 4997293 into master Jun 24, 2026
44 of 45 checks passed
@charIeszhao charIeszhao deleted the charles-log-13737-handle-mismatched-invitation-token branch June 24, 2026 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants