forked from YAFNET/YAFNET
-
Notifications
You must be signed in to change notification settings - Fork 0
Google Integration
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.
- Go to https://code.google.com/apis/console/
- Click on "API Access" and then on "Create another client ID
- Completly Fill Out the "Create Client ID" Form. Set Application Type to "Web Application" and enter your website address.
- 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
- After your Application is created your Client ID/secret are created, which are needed for YAF.NET.
- 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.
- Users are able to Register/Login with Google
- Users can connect an existing Forum account with Google