diff --git a/internal/display/clients.go b/internal/display/clients.go index cdb41d56a..53956cb83 100644 --- a/internal/display/clients.go +++ b/internal/display/clients.go @@ -12,11 +12,19 @@ func (r *Renderer) ClientList(clients []*management.Client) { r.Heading(ansi.Bold(r.Tenant), "clients") for _, c := range clients { + if auth0.StringValue(c.Name) == deprecatedAppName { + continue + } + fmt.Fprintf(r.Writer, "- %s (%s)\n", auth0.StringValue(c.Name), appTypeFor(c.AppType)) - fmt.Fprintf(r.Writer, " %s: %s\n", ansi.Italic("ClientID"), ansi.Faint(auth0.StringValue(c.ClientID))) + fmt.Fprintf(r.Writer, " client id: %s\n", ansi.Faint(auth0.StringValue(c.ClientID))) + fmt.Fprintln(r.Writer) } } +// TODO(cyx): determine if there's a better way to filter this out. +const deprecatedAppName = "All Applications" + func appTypeFor(v *string) string { switch { case v == nil: