Custom OAuth client for Google services
To use Google services like Gmail, YouTube, Google Calendar, and Google Docs with OneGraph, we require that you create a custom OAuth client.
First, create or update your consent screen on the Google Cloud Platform console.
Make sure that onegraph.com
is set as an authorized domain.
Go to the Credentials page to create a new OAuth client.
Choose "Web application" as the "Application type" and add the following Authorized redirect URIs, depending on the services that you want to use. You can leave the "Authorized JavaScript origins" field blank.
Service | Redirect URI |
---|---|
Gmail | https://serve.onegraph.com/oauth/gmail/receive |
Google Analytics | https://serve.onegraph.com/oauth/google-analytics/receive |
Google Calendar | https://serve.onegraph.com/oauth/google-calendar/receive |
Google Docs/Drive | https://serve.onegraph.com/oauth/google-docs/receive |
Google Search Console | https://serve.onegraph.com/oauth/google-search-console/receive |
Google Translate | https://serve.onegraph.com/oauth/google-translate/receive |
YouTube | https://serve.onegraph.com/oauth/youtube/receive |
Copy your client id and client secret.
Enter them on the OneGraph dashboard for your app under Auth Services
> Custom OAuth
.
Now you and your users can log in with your custom Google Client.
If you would help getting your Google app verified, please email support@onegraph.com.