Skip to main content
HTTP 401 Not retryable

Why

  • WorkOS did not sign the call with the current secret of that integration.
  • Auth0 did not authenticate the call with the current secret of that integration.
  • The WorkOS signature is more than 5 minutes old.
Your auth provider then applies its own failure setting.

What to do

Check that your auth provider has the current secret of the integration. After a rotation, the old secret works for 24 hours.

In the SDKs

The Node and Python SDKs raise AuthenticationError. The Go SDK returns *apierrors.AuthenticationError, which you match with errors.As.
Every error has this shape. Errors and limits lists every code.