Skip to content

Creating an org auth token through UI hangs, creates duplicates #120727

Description

@dalnoki

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

Creating an organization auth token (Settings → Auth Tokens → Create New Token) can hang indefinitely in the UI, eventually resolve to a 504, and silently create multiple duplicate tokens server-side that are never surfaced to the user.

  1. Go to Settings > Auth Tokens > New Token in an organization.
  2. Enter a name, click Create Token.
  3. Observe the button/loading state.

Could not reproduce in my org, could reliably reproduce in the customer's org. Please see the internal Linear ticket for details.

Expected Result

Request completes quickly and the new token secret is displayed

Actual Result

Infinite spinner, no token shown, but multiple tokens get created behind the scenes.

Product Area

Settings - Developer Settings

Link

No response

DSN

No response

Version

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status
    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions