From 75da11ef6111c758ed73dbbb8654400ea5df7846 Mon Sep 17 00:00:00 2001 From: 839 <8398a7@gmail.com> Date: Thu, 7 Apr 2016 22:29:24 +0900 Subject: [PATCH] Update README for google oauth2 --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+), 0 deletions(-) diff --git a/README.md b/README.md index 976f429..89ce74f 100644 --- a/README.md +++ b/README.md @@ -149,6 +149,26 @@ few others that could make sense for your needs: organization can log in to Errbit through GitHub. Errbit will provision accounts for new users. +### Configuring Google authentication: +* Set GOOGLE_AUTHENTICATION=true +* Register your instance of Errbit at https://console.developers.google.com/apis/api/plus/overview + +If you host Errbit at errbit.example.com, you would fill in: + +
+
URL +
http://errbit.example.com +
Callback URL +
http://errbit.example.com/users/auth/github +
+ +* After you have registered your app, set GOOGLE_CLIENT_ID and GOOGLE_SECRET + with your app's Client ID and Secret key. + +When you start your application, you should see the option to **Sign in with +Google** on the Login page. You will also be able to link your Google profile +to your user account on your **Edit profile** page. + ### Configuring LDAP authentication: * Set USER_HAS_USERNAME=true -- libgit2 0.21.2