getsentry / getsentry/sentry

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

Open
#77,406 3 comments 0 reactions 0 assignees View on GitHub
Bug Product Area: Settings - Auth Sync: Jira
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

### 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](https://getsentry.atlassian.net/browse/FEEDBACK-2288) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.