Important: Customer Registration is not supported in Microsoft-based browsers (such as Edge) released before April, 2019. It is also not currently supported on mobile devices.
Google project and client ID steps
You'll need a Google project and client ID before you add this feature to your store. Here's how to get those.
Create a Google project
Before you start - You must have a Google account to create a Google project.
- Sign in to Google's Developers Console with your Google account.
- Click Create Project.
- Enter a project name then click Create.
Create a client ID
After you create a Google project, you'll need a client ID and client secret for this project to turn on Google sign-in. Here's how to get them.
- Click My Project then your project name to go to the project dashboard.
- In the Select a project dialog, click your Project Name and ID then click OPEN.
- Click the hamburger menu on the top-left.
- Mouse over APIs & Services, then select Credentials.
- Click Create Credentials and select OAuth client ID.
- On the far-right, click Configure consent screen.
- Enter an Application name and confirm the Support email address.
- Enter your domain name in the Authorized domains field.
- Click the Save button at the bottom.
- Choose Web application.
- Add these authorized URIs for your store.
- Authorized JavaScript origins:
- http://[your store's domain] (like http://widgetdesigns.com)
- http://www.[your store's domain] (like http://www.widgetdesigns.com)
- https://[your store's domain] (like https://widgetdesigns.com)
- https://www.[your store's domain] (like https://www.widgetdesigns.com)
Note: After entering the first URL, tap your Enter or Return key. This will add an additional Authorized JavaScript origins field. Repeat until you're able to add all four URLs. - Authorized redirect URIs: Note: You can find your store ID on the Store Account Info page.
Note: The redirect URIs must match the 301 redirect if used. If unsure, add authorized URIs for both the www address and one without www.
- http://[your store's domain]/ystore/openid/FinishAuth?sid=[your store ID]&opp=g (like http://widgetdesigns.com/ystore/openid/FinishAuth?sid=yhst-1234567&opp=g)
- http://www.[your store's domain]/ystore/openid/FinishAuth?sid=[your store ID]&opp=g (like http://www.widgetdesigns.com/ystore/openid/FinishAuth?sid=yhst-1234567&opp=g)
- https://[your store's domain]/ystore/openid/FinishAuth?sid=[your store ID]&opp=g (like https://widgetdesigns.com/ystore/openid/FinishAuth?sid=yhst-1234567&opp=g)
- https://www.[your store's domain]/ystore/openid/FinishAuth?sid=[your store ID]&opp=g (like https://www.widgetdesigns.com/ystore/openid/FinishAuth?sid=yhst-1234567&opp=g)
Note: After entering the first URL, tap your Enter or Return key. This will add an additional Authorized redirect URIs field. Repeat until you're able to add all four URLs.
- Click the Create button.
Once created, the OAuth dialog will pop up. Copy your client ID and client secret one at a time by clicking the copy icons on the right. For now, paste them to Notepad or another text editor. After copying and pasting them, click OK.
Turn on Google sign-in
Once you have your Google project client ID and client secret, add them to Checkout & Registration Manager to turn on Google sign-in.
- Sign in to your My Services page.
- Click the Store link.
- Go to Checkout & Registration Manager.
- Go to Global Settings.
- Click the Customer Registration tab.
- Next to Allow Google ID, choose Customers can register using their Google ID and copy and paste your client ID and client secret from the text editor.
- Click the Save button.
- Return to Store Manager and publish your Order Settings.
- Test Google registration and sign-in on your live store.