Skip to content

Commit

Permalink
Get the conditional right
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgianaElena committed Sep 2, 2024
1 parent 4e7943b commit c0fbad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oauthenticator/oauth2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,7 @@ def build_refresh_token_request_params(self, refresh_token):
# the client_id and client_secret should not be included in the access token request params
# when basic authentication is used
# ref: https://www.rfc-editor.org/rfc/rfc6749#section-2.3.1
if self.basic_auth:
if not self.basic_auth:
params.update(
[("client_id", self.client_id), ("client_secret", self.client_secret)]
)
Expand Down

0 comments on commit c0fbad4

Please sign in to comment.