Your own Google or Microsoft client
FoxNode signs in to Google and Microsoft with its own client. For Google, your own client is what lets the Gmail steps read your mail. For Microsoft, you can use your own instead, for example if your organisation only allows its own apps.
Your own Google client is how FoxNode's Gmail steps read your mail. Calendar, Drive, Docs, Sheets, Google Cloud and sending email don't need it: they sign in through FoxNode's client. If you only want to read Gmail, an app password is quicker. In FoxNode, Accounts → Google → Your own OAuth client walks you through these steps, with a link to each page.
- Decide which kind of account it's for: a personal Gmail address, or a work or school (Google Workspace) account. It changes step 3.
- In Google Cloud Console, create a project.
- Fill in Branding, then under Audience:
- Work or school: choose Internal. Only your organisation's accounts can use it.
- Personal: choose External, then click Publish app. While a project is in Testing, Google ends the sign-in after 7 days. An app only you use needs no review by Google; when you sign in, Google shows “Google hasn't verified this app” once, and you click Advanced → Go to your app.
- Turn on the Gmail API. Your client is used only for Gmail, so no other API is needed.
- Create an OAuth client of type Desktop app (no redirect address is needed). Paste its Client ID and Client secret into FoxNode and click Save. The secret goes to your keychain.
- Click Sign in with your client and allow access in your browser. Accounts shows that account as “through your Google client”. The same address can also stay signed in through FoxNode's client for Calendar and Drive.
If something goes wrong
- The sign-in ended after about 7 days: the project is still in Testing. FoxNode's account card says so. Open Audience and click Publish app, then sign in again.
- “Turn on the Gmail API in your Google project”: the API is off in that project. Turn it on and try again.
- A Gmail step says it needs your own Google client: its account signed in through FoxNode's client. Choose the account you signed in with your client, or click Use the email-account version to switch to the email-account steps.
Microsoft
- In Microsoft Entra, create an app registration with the platform Mobile and desktop applications.
- In its manifest, add
{"url": "http://127.0.0.1/oauth/callback", "type": "InstalledClient"}toreplyUrlsWithType. The portal's own box refuses this kind of address, so use the manifest. - For Azure monitoring, add the delegated permissions Azure Service Management (
user_impersonation) and Log Analytics API (Data.Read). - In FoxNode, open Accounts → Microsoft → Your own OAuth client and paste the Application (client) ID. There's no secret.