summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@verizonmedia.com>2021-11-16 09:32:07 +0100
committerBjørn Christian Seime <bjorncs@verizonmedia.com>2021-11-16 09:32:07 +0100
commitda932ff0d0ea733c3d14ac2439307014f02a36db (patch)
tree8c5faa4684165de9ae95f2a551b1cdcc324119a1 /client
parentf3b72b57c32cd050684cd38cfcf89a84e82dc425 (diff)
Auth0 device flow will be handled by 4443 endpoint
Diffstat (limited to 'client')
-rw-r--r--client/go/cmd/helpers.go13
1 files changed, 3 insertions, 10 deletions
diff --git a/client/go/cmd/helpers.go b/client/go/cmd/helpers.go
index 54d8798b71d..702f50ce9f5 100644
--- a/client/go/cmd/helpers.go
+++ b/client/go/cmd/helpers.go
@@ -153,17 +153,10 @@ func getConsoleURL() string {
}
func getApiURL() string {
- if vespa.Auth0AccessTokenEnabled() {
- if getSystem() == "publiccd" {
- return "https://api.vespa-external-cd.aws.oath.cloud:443"
- }
- return "https://api.vespa-external.aws.oath.cloud:443"
- } else {
- if getSystem() == "publiccd" {
- return "https://api.vespa-external-cd.aws.oath.cloud:4443"
- }
- return "https://api.vespa-external.aws.oath.cloud:4443"
+ if getSystem() == "publiccd" {
+ return "https://api.vespa-external-cd.aws.oath.cloud:4443"
}
+ return "https://api.vespa-external.aws.oath.cloud:4443"
}
func getTarget() vespa.Target {