From aecd4ac81118c597586a0817e4b271be00d9cfd6 Mon Sep 17 00:00:00 2001 From: Paddy Carey Date: Wed, 27 Jan 2021 14:06:52 +0000 Subject: [PATCH] fix: Go SDK can't set an empty list of callbacks, so don't attempt to do so --- internal/cli/try_login.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cli/try_login.go b/internal/cli/try_login.go index 739971805..8a2629d72 100644 --- a/internal/cli/try_login.go +++ b/internal/cli/try_login.go @@ -255,7 +255,7 @@ func removeLocalCallbackURLFromClient(clientManager auth0.ClientAPI, client *man } // can't update a client to have 0 callback URLs, so don't attempt it - if len(callbacks) == 1 { + if len(callbacks) == 0 { return nil }