MDL-34426 Oauth2 auth plugin port: First commit. Work in progress.
MDL-34426 Oauth2 auth plugin port: Edited auth.php via GitHub
MDL-34426 Oauth2 auth plugin port: README: github issue tracker

commented old code cleaning
MDL-34426 Oauth2 auth plugin port: Changes to respect CFG->alternateloginurl

Moodle (not sure which version this was introduced in) has a 'alternateloginurl' config parameter that may be used to move login logic to an alternate place. Before this commit, the login url was always hardcoded as '/login/index.php'
MDL-34426 Oauth2 auth plugin port: Minor changes.
MDL-34426 Oauth2 auth plugin port: Replace isset by not empty to check ->alternateloginurl - fix suggested in the comments: http://moodle.org/plugins/view.php?plugin=auth_googleoauth2

A little more information about the step 4.

More information about step 4.

Add version.php file

remove creation of white users
MDL-34426 Oauth2 auth plugin port: E-Mail address received from the auth provider is verified against the
list of allowed e-mail domains (set in the auth params by admin)
MDL-34426 port of the Oauth2 authentication plugin
MDL-34426 code cleaning + some perf improvement