diff --git a/oauthenticator/oauth2.py b/oauthenticator/oauth2.py index 486e7371..4ea66811 100644 --- a/oauthenticator/oauth2.py +++ b/oauthenticator/oauth2.py @@ -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"),