Skip to content
Snippets Groups Projects
Commit 001d0f9d authored by Patrick Radtke's avatar Patrick Radtke
Browse files

update google oidc endpoints

parent 74bcf52d
No related branches found
No related tags found
No related merge requests found
......@@ -27,9 +27,9 @@ class ConfigTemplate
const GoogleOIDC = [
'authoauth2:OAuth2',
// *** Google Endpoints ***
'urlAuthorize' => 'https://accounts.google.com/o/oauth2/auth',
'urlAccessToken' => 'https://accounts.google.com/o/oauth2/token',
'urlResourceOwnerDetails' => 'https://www.googleapis.com/oauth2/v3/userinfo',
'urlAuthorize' => 'https://accounts.google.com/o/oauth2/v2/auth',
'urlAccessToken' => 'https://oauth2.googleapis.com/token',
'urlResourceOwnerDetails' => 'https://openidconnect.googleapis.com/v1/userinfo',
'scopes' => array(
'openid',
......
......@@ -63,9 +63,9 @@ class OAuth2Test extends \PHPUnit_Framework_TestCase
]);
$expectedConfig = [
'urlAuthorize' => 'https://accounts.google.com/o/oauth2/auth',
'urlAccessToken' => 'https://accounts.google.com/o/oauth2/token',
'urlResourceOwnerDetails' => 'https://www.googleapis.com/oauth2/v3/userinfo',
'urlAuthorize' => 'https://accounts.google.com/o/oauth2/v2/auth',
'urlAccessToken' => 'https://oauth2.googleapis.com/token',
'urlResourceOwnerDetails' => 'https://openidconnect.googleapis.com/v1/userinfo',
'scopes' => array(
'openid',
'email',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment