diff --git a/internal/cli/universal_login_customize.go b/internal/cli/universal_login_customize.go index 2377747fd..32940c0bd 100644 --- a/internal/cli/universal_login_customize.go +++ b/internal/cli/universal_login_customize.go @@ -575,6 +575,7 @@ func fetchAllApplications(ctx context.Context, api *auth0.API) ([]*applicationDa ctx, management.Page(page), management.PerPage(100), + management.Parameter("is_global", "false"), management.IncludeFields("client_id", "name", "logo_uri", "client_metadata"), ) if err != nil { diff --git a/internal/cli/universal_login_customize_test.go b/internal/cli/universal_login_customize_test.go index a94469c1f..1699a1f88 100644 --- a/internal/cli/universal_login_customize_test.go +++ b/internal/cli/universal_login_customize_test.go @@ -172,7 +172,7 @@ func TestFetchUniversalLoginBrandingData(t *testing.T) { mockClientAPI := mock.NewMockClientAPI(ctrl) mockClientAPI. EXPECT(). - List(gomock.Any(), gomock.Any(), gomock.Any(), gomock.Any()). + List(gomock.Any(), gomock.Any(), gomock.Any(), gomock.Any(), gomock.Any()). Return(&management.ClientList{ Clients: []*management.Client{ { @@ -320,7 +320,7 @@ func TestFetchUniversalLoginBrandingData(t *testing.T) { mockClientAPI := mock.NewMockClientAPI(ctrl) mockClientAPI. EXPECT(). - List(gomock.Any(), gomock.Any(), gomock.Any(), gomock.Any()). + List(gomock.Any(), gomock.Any(), gomock.Any(), gomock.Any(), gomock.Any()). Return(&management.ClientList{ Clients: []*management.Client{ { @@ -472,7 +472,7 @@ func TestFetchUniversalLoginBrandingData(t *testing.T) { mockClientAPI := mock.NewMockClientAPI(ctrl) mockClientAPI. EXPECT(). - List(gomock.Any(), gomock.Any(), gomock.Any(), gomock.Any()). + List(gomock.Any(), gomock.Any(), gomock.Any(), gomock.Any(), gomock.Any()). Return(&management.ClientList{ Clients: []*management.Client{ { @@ -627,7 +627,7 @@ func TestFetchUniversalLoginBrandingData(t *testing.T) { mockClientAPI := mock.NewMockClientAPI(ctrl) mockClientAPI. EXPECT(). - List(gomock.Any(), gomock.Any(), gomock.Any(), gomock.Any()). + List(gomock.Any(), gomock.Any(), gomock.Any(), gomock.Any(), gomock.Any()). Return(&management.ClientList{ Clients: []*management.Client{ { @@ -840,7 +840,7 @@ func TestFetchUniversalLoginBrandingData(t *testing.T) { mockClientAPI := mock.NewMockClientAPI(ctrl) mockClientAPI. EXPECT(). - List(gomock.Any(), gomock.Any(), gomock.Any(), gomock.Any()). + List(gomock.Any(), gomock.Any(), gomock.Any(), gomock.Any(), gomock.Any()). Return(&management.ClientList{ Clients: []*management.Client{ { @@ -919,7 +919,7 @@ func TestFetchUniversalLoginBrandingData(t *testing.T) { mockClientAPI := mock.NewMockClientAPI(ctrl) mockClientAPI. EXPECT(). - List(gomock.Any(), gomock.Any(), gomock.Any(), gomock.Any()). + List(gomock.Any(), gomock.Any(), gomock.Any(), gomock.Any(), gomock.Any()). Return(&management.ClientList{ Clients: []*management.Client{ {