aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeandro Alves <leandroalves@yahooinc.com>2021-11-08 13:55:57 +0100
committerLeandro Alves <leandroalves@yahooinc.com>2021-11-08 13:55:57 +0100
commit144ab4c24a6d94fd284f92f61b92268fa3189b21 (patch)
tree1ec2e4ddc990d66db3b62c5a6af0da20710b4d05
parentc8ed549ba9fcad20cfcdc4862740df8df402c62b (diff)
update WithIssuer
-rw-r--r--client/go/cli/cli.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/go/cli/cli.go b/client/go/cli/cli.go
index c3c6b8c9d0a..7ec554fb92d 100644
--- a/client/go/cli/cli.go
+++ b/client/go/cli/cli.go
@@ -67,9 +67,8 @@ func (c *Cli) IsLoggedIn() bool {
return false
}
- // TODO: fix our custom token to be compatible with jwt.Validate format
// Check if token is valid.
- if err = jwt.Validate(t, jwt.WithIssuer("https://auth0.auth0.com/")); err != nil {
+ if err = jwt.Validate(t, jwt.WithIssuer("https://vespa-cd.auth0.com/")); err != nil {
return false
}