Commit 75da11ef6111c758ed73dbbb8654400ea5df7846

Authored by 839
1 parent 5c510d69
Exists in master

Update README for google oauth2

Showing 1 changed file with 20 additions and 0 deletions   Show diff stats
README.md
... ... @@ -149,6 +149,26 @@ few others that could make sense for your needs:
149 149 organization can log in to Errbit through GitHub. Errbit will provision
150 150 accounts for new users.
151 151  
  152 +### Configuring Google authentication:
  153 +* Set GOOGLE_AUTHENTICATION=true
  154 +* Register your instance of Errbit at https://console.developers.google.com/apis/api/plus/overview
  155 +
  156 +If you host Errbit at errbit.example.com, you would fill in:
  157 +
  158 +<dl>
  159 +<dt>URL
  160 +<dd>http://errbit.example.com
  161 +<dt>Callback URL
  162 +<dd>http://errbit.example.com/users/auth/github
  163 +</dl>
  164 +
  165 +* After you have registered your app, set GOOGLE_CLIENT_ID and GOOGLE_SECRET
  166 + with your app's Client ID and Secret key.
  167 +
  168 +When you start your application, you should see the option to **Sign in with
  169 +Google** on the Login page. You will also be able to link your Google profile
  170 +to your user account on your **Edit profile** page.
  171 +
152 172 ### Configuring LDAP authentication:
153 173  
154 174 * Set USER_HAS_USERNAME=true
... ...