Documentation
Main site
Search…
Overview
Platform Features
Getting started
Login and Signup
App management
Learning Directual
Data
Data structures
Data types
Directual Query Language (DQL)
Import and export
File storage
Template system
Principles of templating
Coding mode (evaluating as a JS-expression)
Comparison component
Tips for dealing with data
Scenarios
Principles of Directual scenarios
Event-driven triggers
Schedule triggers
Synchronic scenarios
Editing scenarios
Using variables
Testing and debugging
System scenarios
Advanced scenario settings
API and integraions
API-endpoints (Security Layer)
Webhooks
Other integrations
Authentication API
Security features
Web3/Blockchain/Near
App interface
Options for building an app interface
Web-page builder
Teams
Teams
Sandbox apps
Plugins
Using plugins
Scenario steps plugins
User authentication plugins
Google OAuth plugin
Facebook OAuth plugin
Developing plugins
JavaScript SDK
Directual JavaScript SDK basics
Internal $D methods
Work with Google Sheets
JS SDK examples
Directual 💙 React JS
Directual + React JS
Pricing and billing
How billing works
Promo-codes
App plans
Team plans
On-demand resource consumption
Affiliate programme
Security and stability
Public Cloud
Support
Contact Directual
Directual step-by-step
Public Development Roadmap
Weather Forecast app
Powered By
GitBook
Google OAuth plugin
Step 1. Create a Google project
Go to
Google API console
and create a project
Step 2. Set up OAuth consent screen
You can restrict your app for the users from your domain (Internal) or make it public (External)
Add URL of your app here, specify the authorised domain
directual.app
If you use
custom domain
you should authorise it on
Google Search Console
.
Pick scopes: email and profile
Step 2. Create credentials
Add URIs —
yourapp.directual.app
or your
custom domain
Copy your Client ID and Client Secret
Step 3. Install plugin
Note, that if you want your users have a chance to
Sign Up
via Google, set the parameter
autoCreateUser
to
true
Step 4. Enjoy
Previous
User authentication plugins
Next
Facebook OAuth plugin
Last modified
6mo ago
Copy link
Contents
Step 1. Create a Google project
Step 2. Set up OAuth consent screen
Step 2. Create credentials
Step 3. Install plugin
Step 4. Enjoy