Skip to content

Commit

Permalink
fix(cli): adding path to the url
Browse files Browse the repository at this point in the history
  • Loading branch information
xoscar committed Sep 7, 2023
1 parent 3c5196c commit 8228fce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/config/configurator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 8228fce

Please sign in to comment.