[Okta SCIM] Owner being changed to Member after logging in
- 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
Hello team, a customer of ours recently turned on Okta SCIM for their org but they're running into some issues with the Owner role specifically. The Owner is manually provisioned through Sentry, but every time this user logs in, they are being changed back to the Member role and is having to rejoin all teams.
1. User is provisioned with blank role in Okta
2. Same user is manually given the Owner role in Sentry
3. User logs in to Sentry by going to Okta -> Apps -> Sentry
4. User's role is changed to Member and they are not a part of any team. Needs to rejoin the teams they want to be in
For Okta settings: Create Users, Update User Attributes, and Deactivate Users are all enabled.
All other roles (Member, Admin, and Manager) have been working as expected.
### Expected Result
Owners will be provisioned with a blank role in Okta, and then manually provisioned in Sentry, and they can log in through SSO as usual.
### Actual Result
User's role is changed to Member and they are not a part of any team. Needs to rejoin the teams they want to be in.
### Product Area
Sign In
### Link
_No response_
### DSN
_No response_
### Version
_No response_
┆Issue is synchronized with this [Jira Improvement](https://getsentry.atlassian.net/browse/FEEDBACK-1938) by [Unito](https://www.unito.io)
Contributor guide
Assessment
This issue has not been assessed yet.