Providing Your Own Gmail API Credentials
FEC can connect to Gmail and G Suite mailboxes using IMAP or Gmail API. When using Gmail API, FEC uses its built-in client application registered with Google API Console for OAuth 2.0 authentication. So, by default, you do not need to create your own OAuth 2.0 credentials.
If you would like to register your own application and use it with FEC instead, you can do so as follows:
- Visit Google Developers API Console.
- Select an existing project, or create a new one by selecting "Create a new project".
- Go to the "Credentials" section and from the "Credentials" tab select "Create credentials" > "OAuth client ID".
- Choose "Other" as the application type and note the generated client ID and client secret values.
- Switch to the "OAuth Consent Screen" tab and configure the consent screen for your application.
- Choose the "Library" menu on the left side of the page and enable Gmail API, Google Calendar API, and Google Drive API.
You can then click the Provide Your Own API Credentials... link on the Connection Settings page in FEC as shown below:
This will open a window where you can enter your client ID and client secret provided by Google API Console as shown below.
When you click OK, your API credentials will be used for connecting to Gmail or G Suite via the Gmail API during the active acquisition session. If you check the Save for later checkbox, your custom API credentials will be saved for future use.
If you would like to clear previously saved credentials, click the Clear hyperlink, check the Save for later checkbox and click OK.