Google Workspace OAuth2
Google Workspace OAuth2
- Sender display name - display name of the sender's email address
- Use internal OAuth app - If you enable this option, the possibility to configure your own internal application will appear. If the option is disabled, the general OptimiDoc internal application will be used, which is responsible for authenticating workflows, for example.
- Custom app client ID - client ID of the custom internal application
- Custom app client secret - client ID of the custom internal application
- Authorize - Click the Authorize button to grant the application access through your organizational account

Custom application configuration
1. Login to the Google Cloud Platform Console - https://console.developers.google.com/
2. Select existing project or create a new one

3. Navigate to Branding and select Get started.
4. Enter app name, user support email, select external application, enter contact information and create.



5. Enter app name, user support email, select external application, enter contact information and create.
6. Then navigate to clients tab and create new client.
7. Select Web application type, name and the following redirect URI: https://beta.optimidoc.cloud/CompanySmtpAuth

8. After, creating the client, copy secret value and application Client ID and paste them into according field in SMTP configuration.
9. By clicking on the Authorize, you will authorize the SMTP server configuration.