Login with Google account
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
composer.json
composer.lock
index.php
oauth-params.inc.dist
signin_button.png

README.md

Login with Google Account

  • get OAuth credentials as described on https://developers.google.com/+/quickstart/php
  • after checkout enter the dir and run composer install
  • rename oauth-params.inc.dist to oauth-params.inc
  • place client_id, client_secret and redirect_uri in oauth-params.inc
  • run local web server php -S localhost:4567 and login
  • on live server it recommended that you have HTTPS