Skip to content

Commit

Permalink
Fix exception when refreshing oauth2 token
Browse files Browse the repository at this point in the history
  • Loading branch information
VIZRTINT\pew authored and lukebakken committed Oct 2, 2024
1 parent b2975b0 commit 1dab877
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions projects/RabbitMQ.Client.OAuth2/OAuth2Client.cs
Original file line number Diff line number Diff line change
Expand Up @@ -309,11 +309,6 @@ private Dictionary<string, string> BuildRefreshParameters(IToken token)
Dictionary<string, string> dict = BuildRequestParameters();
dict[GRANT_TYPE] = REFRESH_TOKEN;

if (_scope != null)
{
dict.Add(SCOPE, _scope);
}

if (token.RefreshToken != null)
{
dict.Add(REFRESH_TOKEN, token.RefreshToken);
Expand Down

0 comments on commit 1dab877

Please sign in to comment.