Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported Connection Strategy: oauth1 #923

Open
6 tasks done
alanc10n opened this issue Feb 26, 2024 · 1 comment
Open
6 tasks done

Unsupported Connection Strategy: oauth1 #923

alanc10n opened this issue Feb 26, 2024 · 1 comment
Labels
🪲 bug Something isn't working

Comments

@alanc10n
Copy link

Checklist

  • I have looked into the README and have not found a suitable solution or answer.
  • I have looked into the documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have upgraded to the latest version of this provider and the issue still persists.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Description

In updating from 0.50.2 to 1.1.2, I'm getting an error on a connection as follows:

Error: Unsupported Connection Strategy
│ 
│   with auth0_connection.garmin-connect,
│   on connections.tf line 218, in resource "auth0_connection" "garmin-connect":
│  218:   strategy = "oauth1"
│ 
│ Raise an issue at https://github.com/auth0/terraform-provider-auth0/issues/new in order to have the following connection strategy supported: "oauth1"

This connection was working fine until the provider update; the resource definition is this:

 resource "auth0_connection" "garmin-connect" {
  name     = "garmin-connect"
  strategy = "oauth1"
}

I attempted to remove the connection from state and re-import, which also yields an error about unsupported strategy.

Expectation

oauth1 is accepted as a strategy, since it's been in the past and I see no documentation about it being removed.

Reproduction

Create the above resource definition

Auth0 Terraform Provider version

1.1.2

Terraform version

1.7.3

@alanc10n alanc10n added the 🪲 bug Something isn't working label Feb 26, 2024
@alanc10n
Copy link
Author

It's perhaps worth noting that removing the resource from state and trying to create a data source for it instead has the same issue. I took a quick look at the source and I see where strategies are defined, and oauth1 is part of the list, so it's not clear at a glance what's going wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪲 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant