2017 © Pedro Peláez
 

library google

Google strategy for Opauth

image

opauth/google

Google strategy for Opauth

  • Sunday, June 3, 2018
  • by Ceeram
  • Repository
  • 22 Watchers
  • 69 Stars
  • 134,427 Installations
  • PHP
  • 8 Dependents
  • 7 Suggesters
  • 100 Forks
  • 11 Open issues
  • 6 Versions
  • 5 % Grown

The README.md

Opauth-Google

[Opauth][1] strategy for Google authentication., (*1)

Implemented based on https://developers.google.com/accounts/docs/OAuth2 using OAuth 2.0., (*2)

Opauth is a multi-provider authentication framework for PHP., (*3)

Getting started

  1. Install Opauth-Google:, (*4)

    cd path_to_opauth/Strategy
    git clone git://github.com/opauth/google.git Google
    

    or, (*5)

    composer require opauth/google
    
  2. Create a Google APIs project at https://code.google.com/apis/console/, (*6)

    • You do not have to enable any services from the Services tab.
    • Make sure to go to API Access tab and Create an OAuth 2.0 client ID.
    • Choose Web application for Application type
    • Make sure that redirect URI is set to actual OAuth 2.0 callback URL, usually http://path_to_opauth/google/oauth2callback
  3. Configure Opauth-Google strategy., (*7)

  4. Direct user to http://path_to_opauth/google to authenticate, (*8)

Strategy configuration

Required parameters:, (*9)

<?php
'Google' => array(
    'client_id' => 'YOUR CLIENT ID',
    'client_secret' => 'YOUR CLIENT SECRET'
)

Optional parameters: scope, state, access_type, approval_prompt, (*10)

References

License

Opauth-Google is MIT Licensed
Copyright © 2012 U-Zyn Chua (http://uzyn.com), (*11)

The Versions

03/06 2018

dev-master

9999999-dev http://opauth.org

Google strategy for Opauth

  Sources   Download

MIT

The Requires

 

authentication auth google

07/04 2014

1.0.x-dev

1.0.9999999.9999999-dev http://opauth.org

Google strategy for Opauth

  Sources   Download

MIT

The Requires

 

by Avatar Ceeram

authentication auth google

18/10 2012

0.2.2

0.2.2.0 http://opauth.org

Google strategy for Opauth

  Sources   Download

MIT

The Requires

 

authentication auth google

11/09 2012

0.2.1

0.2.1.0 http://opauth.org

Google strategy for Opauth

  Sources   Download

MIT

The Requires

 

authentication auth google

23/05 2012

0.2.0

0.2.0.0 http://opauth.org

Google strategy for Opauth

  Sources   Download

MIT

The Requires

 

authentication auth google

23/05 2012

0.1.0

0.1.0.0 http://opauth.org

Google strategy for Opauth

  Sources   Download

MIT

The Requires

 

authentication auth google