EazyDocs – Google Login Setup Guide
This guide explains how to enable Google Login for your EazyDocs login and sign-up forms, including extension forms. By following the steps below, your users will be able to log in or sign up using their Google accounts.
1. Enable Google Login
- Go to your EazyDocs settings.
- Locate the Google Login section.
- Toggle Enable Google Login to activate the feature.
2. Generate Google OAuth Credentials
To connect Google Login with your EazyDocs site, you’ll need a Client ID and Client Secret from the Google Cloud Console.
Step-by-Step Setup:
- Go to Google Developers Console
https://console.cloud.google.com/apis/dashboard - Create a new project (or select an existing one).
- Enable the API
- Search for Google Identity API (or Google+ API if still listed).
- Click Enable.
- Create OAuth 2.0 Credentials
- Go to APIs & Services → Credentials.
- Click Create Credentials → OAuth 2.0 Client ID.
- Select Web application as the application type.
- Configure Authorized Redirect URIs
- Copy the redirect URI provided in your EazyDocs settings.
- Paste it into the Authorized redirect URIs field.
Important: Enter the URI exactly as shown, or Google Login will not work.
- Copy Credentials
- After saving, Google will generate a Client ID and Client Secret.
- Copy these values.
3. Add Credentials to EazyDocs
- In the EazyDocs settings, paste your Client ID and Client Secret into the respective fields.
- Save changes.
4. Display the Google Login Button
You can display the login button in different places:
- Automatically: The Google Login button will appear on all EazyDocs login and sign-up forms.
- Manually: Use the shortcode below to insert the button anywhere on your site: [ google_login ]
The plugin will automatically detect your site URL and the current page ID, so no extra configuration is required.
5. Testing
- Log out of your account.
- Go to your login page.
- You should now see a “Login with Google” button.
- Test it to ensure redirection and login work correctly.
If it is, you have successfully set up Google Login in EazyDocs!