Introduction

This guide demonstrates how to convert from Google's OpenID to OAuth 2.0.

On September 1, 2014, Google is deprecating OpenID authentication and converting to OAuth 2.0 login. To prepare for this switchover, Dozuki is changing from Google's OpenID service to OAuth 2.0. If you do not convert from OpenID to OAuth 2.0 by September 1, 2014, your OpenID users will no longer be able to log into your site.

Read about Google's change to OAuth 2.0 and review their Developer instructions. Note: If you follow Google's instructions, under "Implementing the one-time-code flow", only follow step 1. Create a client ID and client secret.

This guide will walk you through Google's instructions on getting a Client ID and secret, and then show you how to enter them into your Dozuki site's /Manage interface.

Add Comment

Select your existing  project, or create a new one by clicking Create Project. If you already have a project, skip down to Step 3. Otherwise, if you're creating a new project, you should type a name for your project in the Project name field. In the Project ID field, optionally type in a project ID for your project or use the one that the console has created for you. This ID must be unique world-wide.
  • Select your existing project, or create a new one by clicking Create Project. If you already have a project, skip down to Step 3.

  • Otherwise, if you're creating a new project, you should type a name for your project in the Project name field.

    • In the Project ID field, optionally type in a project ID for your project or use the one that the console has created for you. This ID must be unique world-wide.

    • After you have agreed to Google's Terms of Service, click the Create button and wait for the project to be created. The project name appears at the top of the left sidebar, indicating you are now editing the project.

    • Note: There may be short delay of up to 30 seconds before the project is created.

Add Comment

In the left sidebar, select LIBRARY.
  • In the left sidebar, select LIBRARY.

  • A list of Google web services appears. Select Google+API.

Add Comment

Click Enable
  • Click Enable

  • For some customers with an existing project, Google+ API may already be Enabled.

Add Comment

Click the Go to Credentials button. For the section, Where will you be calling the API from?, choose Web browser (Javascript).
  • Click the Go to Credentials button.

  • For the section, Where will you be calling the API from?, choose Web browser (Javascript).

  • For the section What data will you be accessing?, select User Data.

Add Comment

In the AUTHORIZED JAVASCRIPT ORIGINS text box, enter your Dozuki site URL and any custom domain aliases you have set up.

Add Comment

For the Product Name Section, put Dozuki. Click continue and download your credentials.
  • For the Product Name Section, put Dozuki.

  • Click continue and download your credentials.

  • Open the download and you will see your client secret in the text box on the second to last line.

Add Comment

In your Dozuki site's /Manage interface, under the General section, find the Security sub-section. Find the Google Login section. Click Edit and set this section to enabled.
  • In your Dozuki site's /Manage interface, under the General section, find the Security sub-section.

  • Find the Google Login section. Click Edit and set this section to enabled.

    • Fields for your Client ID and Client Secret will appear. Fill in this information and click Save.

Add Comment

Conclusion

To reassemble your device, follow these instructions in reverse order.

One other person completed this guide.

Dozuki System

Member since: 09/24/2009

1 Reputation

123 Guides authored

0 Comments

Add Comment