Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Organization invite does not work if the user already has an organization #43745

Open
MarZab opened this issue Jan 26, 2023 · 3 comments · May be fixed by #82005
Open

Organization invite does not work if the user already has an organization #43745

MarZab opened this issue Jan 26, 2023 · 3 comments · May be fixed by #82005
Assignees
Labels

Comments

@MarZab
Copy link

MarZab commented Jan 26, 2023

Environment

SaaS (https://sentry.io/)

Version

No response

Link

No response

DSN

No response

Steps to Reproduce

  1. Get invited to another org, click the email
  2. Get redirected to the subdomain of one of your existing ORGs.

Expected Result

Join the new ORG.

Actual Result

The error "This organization invite link is no longer valid." appears.

The only way to get into the org is to get/guess the subdomain of the ORG and manually fix the link.

This (or simmilar) issue appeared years ago in this issue that is locked.

@getsantry
Copy link
Contributor

getsantry bot commented Jan 26, 2023

Assigning to @getsentry/support for routing, due by Friday, January 27th at 2:23 pm (yyz). ⏲️

@getsantry
Copy link
Contributor

getsantry bot commented Jan 26, 2023

Routing to @getsentry/enterprise for triage, due by Monday, January 30th at 1:28 pm (sfo). ⏲️

@leeandher
Copy link
Member

Thanks for the report! Was able to reproduce it, will be taking a look at this soon.

markstory added a commit that referenced this issue Jan 30, 2023
The unconditional redirect when customer-domains was enable was causing
invite state to be dropped and completing invitation flows would result
in errors. By setting the active_organization we can generate a URL
to the newly joined organization.

Refs #43745
markstory added a commit that referenced this issue Jan 31, 2023
The unconditional redirect when customer-domains was enable was causing
invite state to be dropped and completing invitation flows would result
in errors. By setting the active_organization we can generate a URL to
the newly joined organization.

Refs #43745
mikejihbe pushed a commit that referenced this issue Feb 6, 2023
The unconditional redirect when customer-domains was enable was causing
invite state to be dropped and completing invitation flows would result
in errors. By setting the active_organization we can generate a URL to
the newly joined organization.

Refs #43745
wmak pushed a commit that referenced this issue Feb 16, 2023
The unconditional redirect when customer-domains was enable was causing
invite state to be dropped and completing invitation flows would result
in errors. By setting the active_organization we can generate a URL to
the newly joined organization.

Refs #43745
@linear linear bot added the Migrated label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants