diff --git a/management/self_service_profiles.go b/management/self_service_profiles.go index bb14eb31..17815e6f 100644 --- a/management/self_service_profiles.go +++ b/management/self_service_profiles.go @@ -83,10 +83,10 @@ type SelfServiceProfileTicketConnectionConfig struct { // created as a part of the SSO flow. DisplayName *string `json:"display_name,omitempty"` - IsDomainConnection *bool `json:"is_domain_connection,omitempty"` - ShowAsButton *bool `json:"show_as_button,omitempty"` - Metadata *map[string]interface{} `json:"metadata,omitempty"` - Options SelfServiceProfileTicketConnectionConfigOptions `json:"options,omitempty"` + IsDomainConnection *bool `json:"is_domain_connection,omitempty"` + ShowAsButton *bool `json:"show_as_button,omitempty"` + Metadata *map[string]interface{} `json:"metadata,omitempty"` + Options *SelfServiceProfileTicketConnectionConfigOptions `json:"options,omitempty"` } // SelfServiceProfileTicketConnectionConfigOptions is the list of Options for SSO Ticket. diff --git a/management/self_service_profiles_test.go b/management/self_service_profiles_test.go index 4b7d2a8a..e5c595a1 100644 --- a/management/self_service_profiles_test.go +++ b/management/self_service_profiles_test.go @@ -125,7 +125,7 @@ func TestSelfServiceProfileManager_CreateAndRevokeTicket(t *testing.T) { "key1": "value1", "key2": "value2", }, - Options: SelfServiceProfileTicketConnectionConfigOptions{ + Options: &SelfServiceProfileTicketConnectionConfigOptions{ IconURL: auth0.String("https://metabox.com/my_icon.jpeg"), DomainAliases: []*string{auth0.String("okta.com")}, },