Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save RhysSullivan/085fdffc7d2adabaacedc415eb9832c8 to your computer and use it in GitHub Desktop.

Select an option

Save RhysSullivan/085fdffc7d2adabaacedc415eb9832c8 to your computer and use it in GitHub Desktop.
Use the browser to create Google OAuth credentials for Executor.
Go to Google Cloud Console. Use the signed-in Google account. Create or select a Google Cloud project.
Enable these APIs:
Gmail API
Google Calendar API
Google Drive API
Google Docs API
Google Sheets API
Google Search Console API
Open Google Auth Platform / OAuth consent setup:
User type: External
Publishing status: Testing is okay unless already publishing to production.
App name: {Ask me}
User support email: the signed-in account email
Developer contact email: the signed-in account email
Authorized domain: executor.sh
Add the signed-in account as a test user if the app is in Testing.
In Google Auth Platform > Data Access, add these OAuth scopes:
https://mail.google.com/
https://www.googleapis.com/auth/calendar
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/documents
https://www.googleapis.com/auth/spreadsheets
https://www.googleapis.com/auth/webmasters
Create an OAuth 2.0 Client ID:
Application type: Web application
Name: Executor Cloud web client
Authorized JavaScript origins: leave empty
Authorized redirect URI:https://executor.sh/api/oauth/callback
If local Executor is used, also add:
https://localhost:5394/api/oauth/callback
https://127.0.0.1:5394/api/oauth/callback
After creation:
Copy the Client ID.
Create/copy the Client Secret.
Do not paste the Client Secret into chat.
Put the Client ID and Client Secret only into the local Executor credential field or env file requested by the app.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment