diff --git a/internal/cli/apps.go b/internal/cli/apps.go index 963b4a342..7e4fcdf5d 100644 --- a/internal/cli/apps.go +++ b/internal/cli/apps.go @@ -225,6 +225,7 @@ func listAppsCmd(cli *cli) *cobra.Command { cmd.Context(), inputs.Number, func(opts ...management.RequestOption) (result []interface{}, hasNext bool, err error) { + opts = append(opts, management.Parameter("is_global", "false")) res, apiErr := cli.api.Client.List(opts...) if apiErr != nil { return nil, false, apiErr diff --git a/internal/display/apps.go b/internal/display/apps.go index 93ef427d9..eef7dc8a5 100644 --- a/internal/display/apps.go +++ b/internal/display/apps.go @@ -116,10 +116,6 @@ func (r *Renderer) ApplicationList(clients []*management.Client, revealSecrets b var res []View for _, c := range clients { - if auth0.StringValue(c.Name) == deprecatedAppName { - continue - } - if !revealSecrets { c.ClientSecret = auth0.String("") } @@ -185,9 +181,6 @@ func makeApplicationView(client *management.Client, revealSecrets bool) *applica } } -// TODO(cyx): determine if there's a better way to filter this out. -const deprecatedAppName = "All Applications" - func FriendlyAppType(appType string) string { switch { case appType == "":