Duplicate User Accounts Created in Sentry Due to Email Address Discrepancy with Okta Provisioning
- 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
### Steps to Reproduce
1. Assign a new user to the Sentry application in Okta.
2. Ensure the user is created in Sentry with the `firstName.lastName@.com` email address.
3. Have the user accept the invitation and log in via Okta.
4. Observe that a duplicate account with the `employeenumber@.com` email address is created in Sentry.
### Expected Result
- Users should only have one account in Sentry with the `firstName.lastName@.com` email address.
- No duplicate accounts should be created with the `employeenumber@.com` email address.
- It should be possible to remove the employee number-based email account from Sentry if the user is unassigned from Okta.
### Actual Result
- Duplicate accounts are created in Sentry with the `employeenumber@.com` email address after the user logs in.
- We are unable to remove the employee number-based email account from Sentry.
### Product Area
Settings - Auth
### Link
I'll share in Case
### DSN
_No response_
### Version
_No response_
┆Issue is synchronized with this [Jira Improvement](https://getsentry.atlassian.net/browse/FEEDBACK-2196) by [Unito](https://www.unito.io)
Contributor guide
Assessment
This issue has not been assessed yet.