Skip to content
w8tcha edited this page Aug 25, 2013 · 4 revisions

To Enable Google Single Sign On Integration in YAF.NET (2.00 or higher is required)...

  • You need to Enable "Enable Single Sign On" in the Host Settings of your Forum.
  • And you need Google API Access for your website.

Register your Website on Googlecom

  1. Go to https://code.google.com/apis/console/
  2. Click on "API Access" and then on "Create another client ID
  3. Completly Fill Out the "Create Client ID" Form. Set Application Type to "Web Application" and enter your website address.
  4. After the Client ID is created you need to "Edit settings" and add two redirect urls to the redirect url list...

http://yourdomain.com/auth.aspx?auth=google&connectCurrent=true

http://yourdomain.com/auth.aspx?auth=google

Replace "yourdomain.com" with your actual forum URL

  1. After your Application is created your Client ID/secret are created, which are needed for YAF.NET.
  2. The Client ID/secret needs to be entered in the app.config in your Forum

<add key="YAF.GoogleClientID" value="XXXX" />

<add key="YAF.GoogleClientSecret" value="XXXX" />

When Everything is setup correctly a "Login with Google" Button should occur on the login page.

Login for Users

  • Users are able to Register/Login with Google
  • Users can connect an existing Forum account with Google

Clone this wiki locally