Custom Social Connection Created via Terraform Not Showing in Auth0 Dashboard UI

Overview

When creating custom social connection using the Auth0 Terraform provider, connections created may not be shown in the Auth0 Dashboard: Authentication > Social page. 

Applies To

  • Auth0 Terraform Provider
  • Custom Social Connections
  • Auth0 Dashboard

Cause

Due to the flexible nature of connection configurations in Terraform, connections created by the user may be malformed for a custom social connection and unretrievable by the Auth0 Dashboard UI. In particular, the Auth0 Dashboard UI expects the "strategy" key in the connection to have the value "oauth2" for custom social connections. In Terraform, this can be set to anything the user prefers, and the connection will still be created. If the value is not "oauth2", the Auth0 Dashboard UI will not display it.

Solution

Ensure all background connection configuration details are set to the proper values, a custom social connection usually has. Verification involves creating a custom social connection through the Dashboard UI to identify standard key-value pairs, which informs the adjustment of the Terraform configuration. Ensure that the "strategy" key has the value "oauth2" so that it appears in the Auth0 Dashboard UI when viewing social connections.

Recommended content

No recommended content found...