You can get a client ID by creating a project at Google API Console.
To set up Google SSO on your store, you need to get a Google client ID from Google API Console.
Here are step-by-step instructions for how to create a Google client ID.
Sign up at Google API Console.
1. Sign in at Google API Console first to set up Google SSO.
If you don't have an Google account, click Create an account and follow instructions to create a new Google account.
▶ Go to Google API Console
Create a project
1. To create a Google client ID, you should create a new project first.
Agree to the terms of service and proceed with one of these methods:
1) Go to Dashboard and click CREATE PROJECT at the top right corner.
2) Go to [Select a project>NEW PROJECT] at the top left corner.
2. Enter a project name and click CREATE.
Provide project information on OAuth consent screen
1. Go to OAuth consent screen.
Provide your application name, authorized domains and other information and click Save.
*Authorized domains cannot include HTTP or HTTP headers (http://, http://) or paths (test.com/).
Create a client ID
1. Once a new project has been created, go to [Credentials>CREATE CREDENTIALS] and click OAuth client ID.
2. Select Application type as Web application. Add the following store domains to Authorized JavaScript origins and Authorized redirect URIs and click CREATE.
1) Authorized JavaScript origins: Enter the domains of your PC and mobile stores.
2) Authorized redirect URIs: Include paths in the PC and mobile store domains as shown in the example below.
E.g. If your domain is “sample.com,” URIs you should enter are:
*If you have configured a secure connection for your store using SSL, you should enter addresses both on HTTP and on HTTPS.
① Authorized JavaScript origins
- http://sample.com
- http://www.sample.com
- http://m.sample.com
- https://sample.com
- https://www.sample.com
- https://m.sample.com
② Authorized redirect URIs
- http://sample.com/Api/Member/Oauth2ClientCallback/googleplus/
- http://www.sample.com/Api/Member/Oauth2ClientCallback/googleplus/
- http://m.sample.com/Api/Member/Oauth2ClientCallback/googleplus/
- https://sample.com/Api/Member/Oauth2ClientCallback/googleplus/
- https://www.sample.com/Api/Member/Oauth2ClientCallback/googleplus/
- https://m.sample.com/Api/Member/Oauth2ClientCallback/googleplus/
If you have additional second-level domains that use Google SSO, you should enter them all.
- Second-level domains: primary domain, subdomain, mobile domain, multi-language store domain, etc.
3. You can check the client ID and security password from Credentials on Google API Console.
4. Go to [Promotions>Social media>Social login] on the admin page.
5. Enable Google login. Enter the client ID and client secret from Google API Console and click [Save].
You can get a client ID by creating a project at Google API Console.
To set up Google SSO on your store, you need to get a Google client ID from Google API Console.
Here are step-by-step instructions for how to create a Google client ID.
Sign up at Google API Console.
1. Sign in at Google API Console first to set up Google SSO.
If you don't have an Google account, click Create an account and follow instructions to create a new Google account.
▶ Go to Google API Console
Create a project
1. To create a Google client ID, you should create a new project first.
Agree to the terms of service and proceed with one of these methods:
1) Go to Dashboard and click CREATE PROJECT at the top right corner.
2) Go to [Select a project>NEW PROJECT] at the top left corner.
2. Enter a project name and click CREATE.
Provide project information on OAuth consent screen
1. Go to OAuth consent screen.
Provide your application name, authorized domains and other information and click Save.
*Authorized domains cannot include HTTP or HTTP headers (http://, http://) or paths (test.com/).
Create a client ID
1. Once a new project has been created, go to [Credentials>CREATE CREDENTIALS] and click OAuth client ID.
2. Select Application type as Web application. Add the following store domains to Authorized JavaScript origins and Authorized redirect URIs and click CREATE.
1) Authorized JavaScript origins: Enter the domains of your PC and mobile stores.
2) Authorized redirect URIs: Include paths in the PC and mobile store domains as shown in the example below.
E.g. If your domain is “sample.com,” URIs you should enter are:
*If you have configured a secure connection for your store using SSL, you should enter addresses both on HTTP and on HTTPS.
① Authorized JavaScript origins
- http://sample.com
- http://www.sample.com
- http://m.sample.com
- https://sample.com
- https://www.sample.com
- https://m.sample.com
② Authorized redirect URIs
- http://sample.com/Api/Member/Oauth2ClientCallback/googleplus/
- http://www.sample.com/Api/Member/Oauth2ClientCallback/googleplus/
- http://m.sample.com/Api/Member/Oauth2ClientCallback/googleplus/
- https://sample.com/Api/Member/Oauth2ClientCallback/googleplus/
- https://www.sample.com/Api/Member/Oauth2ClientCallback/googleplus/
- https://m.sample.com/Api/Member/Oauth2ClientCallback/googleplus/
If you have additional second-level domains that use Google SSO, you should enter them all.
- Second-level domains: primary domain, subdomain, mobile domain, multi-language store domain, etc.
3. You can check the client ID and security password from Credentials on Google API Console.
4. Go to [Promotions>Social media>Social login] on the admin page.
5. Enable Google login. Enter the client ID and client secret from Google API Console and click [Save].