Home / Companies / Unified.to / Blog / Post Details
Content Deep Dive

How to get your OAuth 2 credentials for Gmail

Blog post from Unified.to

Post Details
Company
Date Published
Author
-
Word Count
381
Language
-
Hacker News Points
-
Summary

To integrate Gmail services using OAuth 2 credentials with the Unified API, users must first generate these credentials through the Google Cloud Console. This process involves creating or selecting a project, enabling the Gmail API, and configuring the OAuth consent screen. Once the consent screen is configured, users can create OAuth credentials by selecting the OAuth client ID and specifying the application type as a web application, subsequently entering the authorized redirect URIs. The resulting Client ID and Client Secret should be noted for integration purposes. To activate the Gmail integration on Unified.to, these credentials, along with a developer API key, must be entered on the integration page. Additionally, setting the appropriate OAuth 2 reauthentication policy in the Google Workspace Admin Console is crucial to ensure the integration functions correctly, which involves navigating to the security settings and selecting the appropriate organizational unit for session length adjustments.