Skip to content

Instantly share code, notes, and snippets.

View slootjes's full-sized avatar

Robert Slootjes slootjes

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