getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
38.65k stars 4.14k forks source link

[Okta SCIM] Okta Sentry App seems to be making duplicate requests when deprovisioning #77406

Open Fwang36 opened 1 week ago

Fwang36 commented 1 week ago

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

Reported from a user.

  1. Have the Okta Auth Integration installed and SCIM enabled
  2. Deprovision a user from the Okta App.
  3. Check logs to see 2 deprovisioning requests.

The second request fails because the first request already removed the user. Does not seem to impact the functionality however since the user still gets deprovisioned by the first request.

Expected Result

Single request

Actual Result

Duplicate request. I'm attaching a screenshot from the user in an internal Jira ticket which shows the error and the second request.

Product Area

Settings - Auth

Link

No response

DSN

No response

Version

No response

┆Issue is synchronized with this Jira Improvement by Unito

getsantry[bot] commented 1 week ago

Assigning to @getsentry/support for routing ⏲️

getsantry[bot] commented 1 week ago

Routing to @getsentry/product-owners-settings-auth for triage ⏲️

leedongwei commented 1 week ago

We'll need to investigate if requests are taking too long and causing Okta to resend requests.