From ce5c1a6c125ac46eee42d7e84ac746fb037c893e Mon Sep 17 00:00:00 2001 From: Sergiu Ghitea <28300158+sergiught@users.noreply.github.com> Date: Mon, 13 Mar 2023 16:18:21 +0100 Subject: [PATCH] Fix issue with auth0 test token failing on audience input --- internal/cli/test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/cli/test.go b/internal/cli/test.go index 2d62a3054..bdf1206fd 100644 --- a/internal/cli/test.go +++ b/internal/cli/test.go @@ -211,8 +211,8 @@ func testTokenCmd(cli *cli) *cobra.Command { return err } - if err := testAudience.Ask(cmd, inputs.Audience, nil); err != nil { - return nil + if err := testAudience.Ask(cmd, &inputs.Audience, nil); err != nil { + return err } tenant, err := cli.getTenant()