Skip to content

Commit

Permalink
Update the Okta and Gsuite access group structs to match the 'connect…
Browse files Browse the repository at this point in the history
…ion_id' format returned by the API (cloudflare#458)

identity_provider_id is not the returned value within the access group object at least for okta or gsuite

This is related to https://github.com/terraform-providers/terraform-provider-cloudflare/issues/682

Co-authored-by: Michael Wolf <[email protected]>
  • Loading branch information
wolfmd and Michael Wolf authored May 12, 2020
1 parent 3f0a46d commit ee074a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions access_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ type AccessGroupCertificateCommonName struct {
type AccessGroupGSuite struct {
Gsuite struct {
Email string `json:"email"`
IdentityProviderID string `json:"identity_provider_id"`
ConnectionID string `json:"connection_id"`
} `json:"gsuite"`
}

Expand All @@ -125,7 +125,7 @@ type AccessGroupAzure struct {
type AccessGroupOkta struct {
Okta struct {
Name string `json:"name"`
IdentityProviderID string `json:"identity_provider_id"`
ConnectionID string `json:"connection_id"`
} `json:"okta"`
}

Expand Down

0 comments on commit ee074a5

Please sign in to comment.