Configure Salesforce SSO integration with Terraform

When setting up SSO integration for Salesforce the Salesforce Domain is required when configuring it in the Auth0 UI but when configuring in terraform or via management API that field isn’t present. Applying Terraform creates the integration without the Salesforce Domain. Is this not a required field or is it something that would always have to be done manually?

1 Like

Hi @czf,

I have reached out internally to confirm what the expected behavior is regarding the discrepancy between creating the Salesforce SSO Integration in the Dashboard or via Terraform/the Management API. I will update you as soon as I hear back!

Thanks,

Mary Beth

Hi @czf,

I have heard back from a Solutions Architect about this! The Salesforce Domain is required for it to work but not required to initially create a client. It’s our choice to require it when someone is choosing to use the prebuilt SSO integration in the UI.

Let me know if you have any additional questions!

Thanks,

Mary Beth

Hey MaryBeth,

Thanks so much for finding this out for us. Is there an API field for the salesforce domain? If yes, I’d love to help add that to the Terraform Auth0 provider.

If not, is there any intention or timeline to get it added?

Thanks!
kyler

Hi @KyMidd,

Welcome to the Auth0 Community!

I didn’t see anything upcoming about an API field for the Salesforce Domain. I’d recommend submitting feedback about this. Please see this guide: How to Submit Product Feedback or Feature Requests

Additionally, we accept pull requests on Terraform here, if you’d like to submit one: Pull requests · auth0/terraform-provider-auth0 · GitHub

Thanks,

Mary Beth

1 Like

Created, thanks MaryBeth!

For anyone finding this later, please vote and check status on this feature request here: Adding Salesforce Domain field to the auth0-go library

1 Like