Skip to content

Instantly share code, notes, and snippets.

Avatar

Robert Slootjes slootjes

View GitHub Profile
@slootjes
slootjes / GoogleLogin.php
Created Feb 7, 2019
MediaWiki GoogleLogin extension to automatically create new users
View GoogleLogin.php
// in getClient() replace:
$client->addScope( 'email' );
// with:
$client->addScope( ['email', 'profile']);