diff --git a/docs/resources/connection.md b/docs/resources/connection.md index e627482bd..b17e3382b 100644 --- a/docs/resources/connection.md +++ b/docs/resources/connection.md @@ -241,7 +241,7 @@ resource "auth0_connection" "salesforce" { ### OAuth2 Connection -Also applies to following connection strategies: `dropbox`, `bitbucket`, `paypal`, `twitter`, `amazon`, `yahoo`, `box`, `wordpress`, `discord`, `imgur`, `spotify`, `shopify`, `figma`, `slack-oauth-2`, `digitalocean`, `twitch`, `vimeo`, `custom` +Also applies to following connection strategies: `dropbox`, `bitbucket`, `paypal`, `twitter`, `amazon`, `yahoo`, `box`, `wordpress`, `shopify`, `custom` ```terraform # This is an example of an OAuth2 connection. diff --git a/internal/auth0/connection/expand.go b/internal/auth0/connection/expand.go index 3924a1b4f..048522322 100644 --- a/internal/auth0/connection/expand.go +++ b/internal/auth0/connection/expand.go @@ -55,15 +55,7 @@ func expandConnection(d *schema.ResourceData, api *management.Management) (*mana management.ConnectionStrategyYahoo, management.ConnectionStrategyBox, management.ConnectionStrategyWordpress, - management.ConnectionStrategyDiscord, - management.ConnectionStrategyImgur, management.ConnectionStrategySpotify, - management.ConnectionStrategyShopify, - management.ConnectionStrategyFigma, - management.ConnectionStrategySlack, - management.ConnectionStrategyDigitalOcean, - management.ConnectionStrategyTwitch, - management.ConnectionStrategyVimeo, management.ConnectionStrategyCustom: connection.Options, diagnostics = expandConnectionOptionsOAuth2(d, options) case management.ConnectionStrategyFacebook: diff --git a/templates/resources/connection.md.tmpl b/templates/resources/connection.md.tmpl index 431468d77..78e4f5e3e 100644 --- a/templates/resources/connection.md.tmpl +++ b/templates/resources/connection.md.tmpl @@ -52,7 +52,7 @@ creation of multiple connections per strategy, the additional connections may no ### OAuth2 Connection -Also applies to following connection strategies: `dropbox`, `bitbucket`, `paypal`, `twitter`, `amazon`, `yahoo`, `box`, `wordpress`, `discord`, `imgur`, `spotify`, `shopify`, `figma`, `slack-oauth-2`, `digitalocean`, `twitch`, `vimeo`, `custom` +Also applies to following connection strategies: `dropbox`, `bitbucket`, `paypal`, `twitter`, `amazon`, `yahoo`, `box`, `wordpress`, `shopify`, `custom` {{ tffile "examples/resources/auth0_connection/resource_with_oauth2.tf" }}