Skip to content

Commit 1dab877

Browse files
VIZRTINT\pewlukebakken
VIZRTINT\pew
authored andcommitted
Fix exception when refreshing oauth2 token
1 parent b2975b0 commit 1dab877

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

projects/RabbitMQ.Client.OAuth2/OAuth2Client.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -309,11 +309,6 @@ private Dictionary<string, string> BuildRefreshParameters(IToken token)
309309
Dictionary<string, string> dict = BuildRequestParameters();
310310
dict[GRANT_TYPE] = REFRESH_TOKEN;
311311

312-
if (_scope != null)
313-
{
314-
dict.Add(SCOPE, _scope);
315-
}
316-
317312
if (token.RefreshToken != null)
318313
{
319314
dict.Add(REFRESH_TOKEN, token.RefreshToken);

0 commit comments

Comments
 (0)