FoodMonkey
NatadTech
  • πŸ‘‹Introduction
  • Installation
    • βš™οΈInstallation - Shared Hosting
    • πŸ”ƒUpdating - Shared Hosting
    • πŸ’»Installation - Local Machine
  • DEFINE BASICS
    • πŸ“‚Database
    • πŸ“©Mail Server
    • βŒ›Localization and Time Format
    • πŸ’²Payments
    • πŸ’±Pricing Plans
    • πŸ’°Stripe Gateway
    • πŸ’ΈPaystack Gateway
    • πŸ—ΊοΈGoogle API
    • πŸ“ˆGoogle Analytics
    • πŸ–₯️Google Authentication
    • πŸ‘€Facebook Authentication
    • πŸ›œOne Signal Push Notifications
    • πŸ“¨Twilio SMS Notifications
  • Usage
    • πŸ“ŒGetting Started
    • πŸ‘₯Register as an Admin
    • 🌏Multilingual Menu
    • ✏️Site Set-up
    • πŸͺRestaurant Subdomain
    • 🍴Single Restaurant
    • πŸ—£οΈTranslations
    • πŸ–ŒοΈCustom CSS
    • ⬆️Import from CSV
    • πŸ“Custom Fields on Order
  • Modules
    • πŸ’‘Project Modules
    • 🧩Module Installation
    • ➑️ShareThis
    • πŸͺCookie Consent
    • πŸ–¨οΈThermal Printer Module
    • πŸͺWebHooks
  • API
    • 🀝Client API
    • πŸ›΅Driver API
  • Information
    • ❓Frequently Asked Questions
    • πŸ“œChangelog
    • πŸ–₯️Developer Information
Powered by GitBook
On this page

Was this helpful?

  1. DEFINE BASICS

Google Authentication

Here's how to activate Google login.

PreviousGoogle AnalyticsNextFacebook Authentication

Last updated 1 year ago

Was this helpful?

Visit .

Create a new project or select an existing one if you've already set one up.

Then, access the Library from the left-hand menu.

Locate the Google+ API and click on it.

Activate the Google+ API.

Now, after enabling the API, navigate to the OAuth consent screen from the left-hand menu and choose External.

Then, fill in the required information related to your domain project and click Save.

Proceed to the Credentials section from the left-hand menu, click on Create Credentials, and select OAuth client ID.

Choose Web application and input the relevant details for your project's domain.

Note Ensure that your domain matches the one specified in the OAuth consent screen. Additionally, the redirect route should match the one defined in the picture.

https://yourdomain.com/login/google/redirect

If you encounter issues with authorizing your domain, access the authorized domains list and include your domain.

Click on Create and then copy the provided credentials into the .env file.

GOOGLE_CLIENT_ID="" //Used for google login
GOOGLE_CLIENT_SECRET="" //Used for google login
GOOGLE_REDIRECT="" //Used for google login
πŸ–₯️
Google API Console