Skip to content

Commit

Permalink
Merge pull request #610 from jabbera/remove-get-params
Browse files Browse the repository at this point in the history
Don't send POST params on query string also
  • Loading branch information
manics committed May 3, 2023
2 parents c4d6db2 + 30e8ee8 commit 921824c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions oauthenticator/oauth2.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,10 +635,9 @@ async def get_token_info(self, handler, params):
Called by the :meth:`oauthenticator.OAuthenticator.authenticate`
"""
url = url_concat(self.token_url, params)

token_info = await self.httpfetch(
url,
self.token_url,
method="POST",
headers=self.build_token_info_request_headers(),
body=urlencode(params).encode("utf-8"),
Expand Down

0 comments on commit 921824c

Please sign in to comment.