-
Bug
-
Resolution: Fixed
-
High
-
None
-
3
-
Severity 2 - Major
-
Issue Summary
Changing emails to another domain through REST API results in error related to SSO / SAML
This is caused by the enforcement of SSO in the Authentication policies.
This is reproducible on Data Center: no
Steps to Reproduce
- Claim 2 domains in the Organization
- Enforce SSO in a particular user through Auth policies
- Try to change the email of this user using the public API
Expected Results
Should change the user's email.
Actual Results
Results in the following error:
{"key":"forbidden.action","context":{"allowed":false,"reason":{"key":"authPolicy.saml"}},"errorKey":"forbidden.action","errorDetail":{"allowed":false,"reason":{"key":"authPolicy.saml"}}}
Workaround
The workaround is to change authentication policies momentarily and disable SSO enforcement.
The change is now available in production. Admins should no be able to change email on accounts that are under a SAML SSO authentication policy.