Skip to content

Commit

Permalink
Merge pull request #1690 from BreakingBread0/fix-oauth2-refresh-token
Browse files Browse the repository at this point in the history
Fix exception when refreshing oauth2 token
  • Loading branch information
lukebakken authored Oct 3, 2024
2 parents b2975b0 + 1dab877 commit 6147962
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 6147962

Please sign in to comment.