Skip to content

Commit 6147962

Browse files
authored
Merge pull request #1690 from BreakingBread0/fix-oauth2-refresh-token
Fix exception when refreshing oauth2 token
2 parents b2975b0 + 1dab877 commit 6147962

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)