Skip to content

Sentry Login doesn't work well with multiple accounts #71537

Open

Description

@sjudd

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. Create a sentry account with org 1 ([email protected])
  2. Create a sentry account with org 2 ([email protected])
  3. Try to sign in to sentry.

If I go to sentry.io and click sign in, it picks one of these two corporate accounts and provides no mechanism to sign in to the other one.

Expected Result

I'd very much expect to be able to select which account I'm trying to sign in to.

Actual Result

Sign in automatically redirects me to one of the two org accounts (the org account name shows up in the browser url). If I try to sign in with the other org email address, it tries to link the two accounts.

Product Area

Sign In

Link

No response

DSN

No response

Version

No response

We want to define a set of lightweight metrics that SDKs can automatically collect for e.g. framework, language or platform, focusing only on signals that do NOT overlap with Tracing. Ideally these metrics should give a quick sense of app or runtime health, … while deeper investigation will still rely on traces or profiles.

Examples**:**

  • Node.js runtime metrics (e.g., event loop delay, heap usage)
  • Prisma-related metrics in Next.js
  • Mobile CPU / memory usage to help surface potential ANRs or app hangs

Candidate Metrics (add more below)

  • …

(please also add ideas, questions or examples in comments)

Activity

  1. getsantry commented on May 27, 2024

    @getsantry
    Contributor

    Assigning to @getsentry/support for routing ⏲️

  2. moved this to Waiting for: Support in GitHub Issues with 👀 3on May 27, 2024
  3. sjudd commented on May 27, 2024

    @sjudd
    Author

    Here's another example.

    Today I'm signed in to org1 with an org1 email and an org1 chrome profile. If I go to sentry.io and sign in, it always tries to sign me into org2.

    However if I go find link to an issue in org1 (from linear, created via the Sentry integration), and I click that link, then:

    1. I see an error from chrome about too many redirects
    2. Eventually this resolves and I'm taken to the sign in page for org1 (correct!)

    But then when i try to sign in with google, nothing happens. I see a notification from 1password that google was used to sign in to this web page, but I see no change on the page itself.

    To make matters more complicated, I have a separate account on sentry for org1 using the org1 domain, but it appears not to be linked to the 'sign in with google' account for org1. When I enter the username and password on the org1 page (rather than using sign in with google) I'm able to sign in.

    So maybe to summarize:

    1. When I click sign in on the sentry webpage, I'd like to be able to pick which org account to sign into
    2. When I sign in with google and I have an existing username/password account with the same email address, I'd like those accounts to be linked.
    3. If I try to sign in with google on a page for the wrong org, I'd expect to see some kind of error message when that fails.
  4. getsantry commented on May 28, 2024

    @getsantry
    Contributor

    Routing to @getsentry/product-owners-sign-in for triage ⏲️

  5. moved this from Waiting for: Support to Waiting for: Product Owner in GitHub Issues with 👀 3on May 28, 2024
  6. leedongwei commented on May 28, 2024

    @leedongwei
    Contributor

    Gotcha. Thanks for the bug report! Unfortunately, it is likely to be a big effort to fix this. I'll keep this issue open and will update with more info when we schedule time to work on this.

  7. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions