From 8228fce7c5a06f74b60dec38ca131e6259e853cf Mon Sep 17 00:00:00 2001 From: Oscar Reyes Date: Thu, 7 Sep 2023 09:25:55 -0600 Subject: [PATCH] fix(cli): adding path to the url --- cli/config/configurator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/config/configurator.go b/cli/config/configurator.go index 89430886c4..33b05f38b5 100644 --- a/cli/config/configurator.go +++ b/cli/config/configurator.go @@ -89,7 +89,7 @@ func (c Configurator) Start(ctx context.Context, prev Config, flags ConfigFlags) return nil } - oauthServer := oauth.NewOAuthServer(cfg.URL(), cfg.UIEndpoint) + oauthServer := oauth.NewOAuthServer(fmt.Sprintf("%s%s", cfg.URL(), cfg.Path()), cfg.UIEndpoint) err = oauthServer.WithOnSuccess(c.onOAuthSuccess(ctx, cfg)). WithOnFailure(c.onOAuthFailure). GetAuthJWT()