Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

windowslive auth0_connection misconfigures resources #320

Closed
sseg opened this issue Jan 18, 2021 · 1 comment · Fixed by #335
Closed

windowslive auth0_connection misconfigures resources #320

sseg opened this issue Jan 18, 2021 · 1 comment · Fixed by #335
Labels

Comments

@sseg
Copy link

sseg commented Jan 18, 2021

Description

Connection resources with windowslive strategy do not send options parameters to the Auth0 management API. It seems this may be intentionally unsupported https://github.com/alexkappa/terraform-provider-auth0/blob/v0.17.2/auth0/structure_auth0_connection.go#L271

Terraform Version

Terraform 0.13.6
+ provider.auth0 0.17.2

Affected Resource(s)

  • auth0_connection

Terraform Configuration Files

resource "auth0_connection" "windowslive" {
  name                = "windowslive"
  strategy            = "windowslive"
  options {
    client_id         = var.microsoft.client_id
    client_secret     = var.microsoft.client_secret
    strategy_version  = 2
    scopes            = ["https://graph.microsoft.com/User.Read"]
  }	 
}

Expected Behavior

A POST body should be sent to the management API with a JSON body containing ... "options": {"client_id":"<client ID>" ...

Actual Behavior

A connection resource is created in Auth0 with no options configured.

Steps to Reproduce

  1. terraform apply

Debug Output

We consistently produce this warning:

2021-01-15T19:52:12.333-0500 [DEBUG] plugin.terraform-provider-auth0_v0.17.2: 2021/01/15 19:52:12 [WARN]: Unsupported connection strategy windowslive

from the default branch here.

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment
@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity.
Stale issues will be closed after 5 days if no action is taken. If you
think this issue should not be closed, remove the stale label.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant