Major incident

WorkOS: Elevated latency and errors for AuthKit and User Management API

Nov 24, 2026, 05:41 UTC
started
06:57 UTC
resolved
1 h 16 min
duration

Affected: AuthKit

Current status of WorkOS: Operational — live WorkOS status

Timeline

  1. Nov 24, 2026, 05:41 UTC
    investigating
    Update (Identified): We've identified the cause of elevated latency and errors affecting AuthKit sign-ins and the User Management API, starting at 05:14 UTC. Some requests are slow, and some are failing with timeouts or 5xx errors. End users may see errors when signing in. A recent change is responsible, and we're rolling it back now. SSO connections made directly through the SSO API and Directory Sync are unaffected. We'll post another update once the rollback completes, within 30 minutes at the latest.
  2. Nov 24, 2026, 05:54 UTC
    monitoring
    We've resolved the issue that caused elevated latency and errors for AuthKit sign-ins and the User Management API. We're continuing to monitor and will post another update soon.
  3. Nov 24, 2026, 06:57 UTC
    resolved
    Between 05:14 UTC and 05:33 UTC on November 24 we saw elevated latency and errors in AuthKit and the User Management API, including slow or failed sign-ins, session refreshes, and API requests. We identified the cause, rolled back the change, and all services have been operating normally since 05:33 UTC. We’re sorry for the disruption this caused you and your users. We’ll share a full root cause analysis once our investigation is complete.
  4. Nov 24, 2026, 16:18 UTC
    postmortem
    # Elevated latency and errors for AuthKit and User Management API **Date:** 11/24/2026 **Duration:** 05:14–05:33 UTC \(19 minutes\) **Status:** Resolved ## Summary On November 24, 2026, from 05:14 to 05:33 UTC, WorkOS experienced elevated latency and errors in AuthKit and the User Management API. Customers saw slow or failed sign-ins, failed session refreshes and token exchanges, and failed or slow User Management API requests. SSO requests made directly through the SSO API and Directory Sync were not affected. A database column had recently been added to a high-traffic table with a different index pattern than its siblings, designed to improve performance. A production deployment referencing the new column landed before the table had statistics available for the change, causing the database to choose an inefficient plan involving a sequential scan. Each lookup took up to about 30 seconds, which exhausted the database connections available to the service and caused unrelated requests to queue and fail. On-call engineers were alerted to the latency spike and we rolled back the deployment. Service returned to normal by 05:33 UTC. This was caused by a change we shipped to a critical sign-in path. We take responsibility for the impact and for the delay in updating our status page. ## Background When a user signs in with a social or enterprise identity provider, AuthKit looks up which user is linked to that provider profile. Adding support for new providers involves adding new database columns. ## What Happened ### Affected products * **AuthKit:** Sign-in, sign-up, session refresh and token exchange, including OAuth and MCP clients that rely on refresh tokens. * **User Management API:** Requests served by the same service, including user info and invitation requests. * **Not affected:** SSO connections made directly through the SSO API, and Directory Sync. ### Customer impact * **Scope:** Between 05:14 and 05:33 UTC, measured at our edge, 46% of User Management API requests failed or timed out \(18% returned server errors and 27% were abandoned by the client after waiting\), and 32% of AuthKit requests failed or timed out \(9% returned server errors and 23% were abandoned by the client after waiting\). There were no comparable errors in the period before the deployment. * **Symptoms:** Requests either failed with HTTP 5xx errors or took tens of seconds. 75th-percentile latency rose from about 60 milliseconds before the deployment to about 45 seconds at the worst point. * **Scale:** Some customers saw almost all of their refresh-token exchanges fail during the window, which signed out some of their users and connected clients. Failed or abandoned request rates measured at our edge, per minute, from 04:50 to 06:00 UTC. Errors began at 05:14 UTC and returned to baseline at 05:33 UTC: ![](https://images.workoscdn.com/images/14adb375-810d-4677-b37f-bced77e24c83.png) ![](https://images.workoscdn.com/images/8f845ea8-c7c0-4a81-9b43-63812b0a6c44.png) Failed or abandoned requests by endpoint, listed by traffic, highest first: ![](https://images.workoscdn.com/images/e3445eef-8da2-48bd-8872-0db7915c9bb9.png) ### Root cause The deployment added support for a new OAuth provider, updating the sign-in lookup to check a new column. The column had been created in the database about thirteen hours before the code change landed. 1. **No statistics for the new column.** Automatic statistics collection had not yet run on the table after the column was added. 2. **A slow query plan.** The new column's index covered only rows with a value, a pattern we chose to make reads and writes faster. Until statistics existed for the new column, the database couldn't use that index to tell that a match was unique. It estimated a large number of matching rows, rather than one or zero, and chose to scan the table instead of using the index. Each lookup took up to ~30 seconds. 3. **Connection exhaustion.** Each slow lookup held a database connecti

Updates as published by WorkOS (original).

Other services with incidents at the same time

This was part of a wider event: 22 services reported incidents within the hour.

More WorkOS incidents