PHPackages                             gabel/opauth-google-proxy - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. gabel/opauth-google-proxy

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

gabel/opauth-google-proxy
=========================

Google strategy for Opauth

0.2.7(8y ago)013.4k1MITPHPPHP &gt;=5.2.0

Since May 23Pushed 8y agoCompare

[ Source](https://github.com/gabel/google)[ Packagist](https://packagist.org/packages/gabel/opauth-google-proxy)[ Docs](http://opauth.org)[ RSS](/packages/gabel-opauth-google-proxy/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (14)Used By (0)

Opauth-Google
=============

[](#opauth-google)

[Opauth](https://github.com/uzyn/opauth) strategy for Google authentication.

Implemented based on  using OAuth 2.0.

Opauth is a multi-provider authentication framework for PHP.

Getting started
---------------

[](#getting-started)

1. Install Opauth-Google:

    ```
    cd path_to_opauth/Strategy
    git clone git://github.com/uzyn/opauth-google.git Google
    ```
2. Create a Google APIs project at

    - 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.
4. Direct user to `http://path_to_opauth/google` to authenticate

Strategy configuration
----------------------

[](#strategy-configuration)

Required parameters:

```
