Commit 9916b72d authored by sanduhrs's avatar sanduhrs

Use GET method for userinfo request for Google's sake

parent 1c4cc2ce
......@@ -251,7 +251,7 @@ abstract class OpenIDConnectClientBase extends PluginBase implements OpenIDConne
$client = $this->httpClient;
try {
$response = $client->post($endpoints['userinfo'], $request_options);
$response = $client->get($endpoints['userinfo'], $request_options);
$response_data = (string) $response->getBody();
return json_decode($response_data, TRUE);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment