Commit 8987180e authored by jcnventura's avatar jcnventura Committed by Joao Ventura
Browse files

Issue #3154294 by jcnventura: Update Google endpoints

parent 4b9bc3fe
......@@ -35,9 +35,10 @@ class OpenIDConnectGoogleClient extends OpenIDConnectClientBase {
* {@inheritdoc}
*/
public function getEndpoints() {
// Data from https://accounts.google.com/.well-known/openid-configuration
return [
'authorization' => 'https://accounts.google.com/o/oauth2/auth',
'token' => 'https://accounts.google.com/o/oauth2/token',
'authorization' => 'https://accounts.google.com/o/oauth2/v2/auth',
'token' => 'https://oauth2.googleapis.com/token',
'userinfo' => 'https://openidconnect.googleapis.com/v1/userinfo',
];
}
......
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