Okta fails to save Twilio System for Cross-domain Identity Management (SCIM) provisioning settings and generates the following error:
Error authenticating: No results for users returned
This issue occurs when the SCIM connector base URL contains an incorrect endpoint.
- Example:
https://oauth.twilio.com/v2/token
Update the SCIM connector base URL to https://iam.twilio.com/scim/v2 and verify the Redirect URL configuration according to the Twilio SCIM Provisioning Documentation to resolve the error.
- Okta Classic Engine
- Okta Identity engine (OIE)
- Twilio
- System for Cross-domain Identity Management (SCIM) Provisioning
The error occurs because the SCIM connector base URL contains an incorrect endpoint instead of the required one https://iam.twilio.com/scim/v2.
Consequently, Okta makes calls to an invalid Twilio OAuth token endpoint (/v2/token/Users), which results in a Twilio 20404 error.
NOTE: This applies only when setting up a Custom SAML/SWA App for Twilio, not when using the Okta Integration Network (OIN) version of the application.
How is the Twilio SCIM provisioning error resolved?
Update the SCIM connector base URL to the correct endpoint, verify the Redirect URL configuration, and reauthenticate the Twilio API.
- In the Okta Admin Console, go to Applications > Applications and select the Twilio application.
- Navigate to the Provisioning tab and select Integration.
- Select Edit in the SCIM Connection section.
- Enter
https://iam.twilio.com/scim/v2in the SCIM connector base URL field and select Save. - Verify the Redirect URL contains the correct configuration for the Okta tenant and application:
https://<subdomain>-admin.okta.com/admin/app/cpc/<EXAMPLE_OKTA_APP>/oauth/callback - Reauthenticate the Twilio API and save the provisioning settings.
