From 23a1044ea602bcc132c92f7b7b70cacfdc5b7de1 Mon Sep 17 00:00:00 2001 From: Eryk Kulikowski Date: Mon, 17 Apr 2023 10:53:01 +0200 Subject: [PATCH] drop_permissions set back to false --- image/app/core/oath.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image/app/core/oath.go b/image/app/core/oath.go index 43902be..9e39696 100644 --- a/image/app/core/oath.go +++ b/image/app/core/oath.go @@ -173,7 +173,7 @@ func encode(req OauthTokenRequest) *bytes.Buffer { func doExchange(ctx context.Context, in OauthTokenResponse, url string) (OauthTokenResponse, error) { res := in - req := ExchangeRequest{true, in.AccessToken} + req := ExchangeRequest{false, in.AccessToken} data, _ := json.Marshal(req) body := bytes.NewBuffer(data) request, _ := http.NewRequestWithContext(ctx, "POST", url, body)