From 01bb28b149bb03ccb5fe206d5edb1e82dc504686 Mon Sep 17 00:00:00 2001 From: John MacKenzie Date: Wed, 19 Aug 2020 20:44:31 -0700 Subject: [PATCH] auth0/structure_auth0_connection.go: Properly expand all SAML options --- auth0/structure_auth0_connection.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/auth0/structure_auth0_connection.go b/auth0/structure_auth0_connection.go index 32a38a9a..31478970 100644 --- a/auth0/structure_auth0_connection.go +++ b/auth0/structure_auth0_connection.go @@ -512,6 +512,7 @@ func expandConnectionOptionsOIDC(d ResourceData) *management.ConnectionOptionsOI func expandConnectionOptionsSAML(d ResourceData) *management.ConnectionOptionsSAML { o := &management.ConnectionOptionsSAML{ + Debug: Bool(d, "debug"), SigningCert: String(d, "signing_cert"), ProtocolBinding: String(d, "protocol_binding"), TenantDomain: String(d, "tenant_domain"), @@ -524,7 +525,7 @@ func expandConnectionOptionsSAML(d ResourceData) *management.ConnectionOptionsSA SignSAMLRequest: Bool(d, "sign_saml_request"), } - Set(d, "idp_initiated").Elem(func(d ResourceData) { + List(d, "idp_initiated").Elem(func(d ResourceData) { o.IdpInitiated = &management.ConnectionOptionsSAMLIdpInitiated{ ClientID: String(d, "client_id"), ClientProtocol: String(d, "client_protocol"),