Food Tiger
  • Introduction
  • Installation
    • Installation on Shared Hosting
    • Updating - Shared hosting
    • Run local
  • Define Basics
    • Database
    • Mail server
    • Localization and Time format
    • Pricing Plans
    • Payments
    • 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
    • Set up your site
    • Restaurant subdomain
    • Single restaurant
    • Translations
    • Custom CSS
    • Import from CSV
    • Custom fields on order
    • Project plugins
  • Plugins
    • How to install plugin
    • ShareThis
    • Cookie Consent
    • Thermal Printer Module
    • WebHooks
  • API
    • Client API
    • Driver API
  • Changelog
    • Changelog
    • FAQ
Powered by GitBook
On this page

Was this helpful?

  1. Define Basics

Google authentication

How to enable Google login

PreviousGoogle AnalyticsNextFacebook authentication

Last updated 5 years ago

Was this helpful?

Visit .

Create new project or select one if you already create one.

Next open Library from the left menu.

Find Google+ API and click on that.

Enable Google+ API.

Now after you enable the API from the left menu click QAuth consent screen and select External.

Next fill the following information connected with your domain project and click Save.

Now open Credentials from left menu, click Create Credentials and select QAuth client ID.

Select Web application and fill the information for your project domain.

NOTE: Your domain need to be the same as the previous in the QAuth consent screen.

Also the redirect route need to be the same as it is define in the picture.

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

If you have some problems with authorizing your domain please open authorized domains list and add your domain.

Click Create and copy the given credentials in the .env file.

GOOGLE_CLIENT_ID="" //Used for google login
GOOGLE_CLIENT_SECRET="" //Used for go0gle login
GOOGLE_REDIRECT="" //Used for google login

Google API Console