Skip to content

Commit c3c84d8

Browse files
committed
Add domain back in
1 parent 15fe7b5 commit c3c84d8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

management/connection.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,8 @@ type ConnectionOptionsSAMLIdpInitiated struct {
710710
type ConnectionOptionsGoogleApps struct {
711711
ClientID *string `json:"client_id,omitempty"`
712712
ClientSecret *string `json:"client_secret,omitempty"`
713-
Domain *string `json:"tenant_domain,omitempty"`
713+
Domain *string `json:"domain,omitempty"`
714+
TenantDomain *string `json:"tenant_domain,omitempty"`
714715

715716
EnableUsersAPI *bool `json:"api_enable_users,omitempty"`
716717
BasicProfile *bool `json:"basic_profile,omitempty" scope:"basic_profile"`

management/connection_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ func TestConnectionOptions(t *testing.T) {
229229
Strategy: auth0.String("google-apps"),
230230
Options: &ConnectionOptionsGoogleApps{
231231
Domain: auth0.String("example.com"),
232+
TenantDomain: auth0.String("example.com"),
232233
BasicProfile: auth0.Bool(true),
233234
ExtendedProfile: auth0.Bool(true),
234235
Groups: auth0.Bool(true),

0 commit comments

Comments
 (0)