WooCommerce Social Login & Registration
Replace the 'YOUR_CLIENT_ID', 'YOUR_CLIENT_SECRET', and 'YOUR_REDIRECT_URL' placeholders with your actual Gmail API credentials and redirect URL.
by Sinan · github.com/wp-sinan/woo-gmail-login-registration · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/wp-sinan/woo-gmail-login-registration/archive/refs/heads/main.zipWooCommerce Login & Register With Gmail
-
Create a Google API Project:
- Go to the Google Developers Console: https://console.developers.google.com/
- Create a new project and provide a name for it.
-
Enable the Gmail API:
- In the Google Developers Console, navigate to the "Library" section.
- Search for "Gmail API" and enable it for your project.
-
Create OAuth Client Credentials:
- In the Google Developers Console, navigate to the "Credentials" section.
- Click on "Create Credentials" and select "OAuth client ID."
- Choose "Web application" as the application type.
- Enter the authorized JavaScript origins and redirect URIs for your WordPress site.
-
Obtain Client ID and Client Secret:
- After creating the OAuth client ID, you'll receive a Client ID and Client Secret.
- Note down these credentials as you'll need them in the next steps.
-
Add Credentials:
- Go to Settings > Social Login.
- Add cliend id, client secret, redirect url afte login & save settings.