Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Gmail Oauth Integration

I'm trying to configure a Genesys Cloud CX <=> Gmail integration so that a Genesys queue can send / receive (IMAP / SMTP) email through a Gmail mailbox.

What I've done...

I've configured a new project in my Gsuite tenant: Enabled the Gmail API, configured consent settings (in testing mode with test user added, gmail API scopes added), created an OAuth 2.0 Client ID = web application / set the authorised redirect URI to https://apps.mypurecloud.com/oauth/callback and noted the client ID and secret.

Within Genesys, I've created a new SMTP integration: configured the SMTP server properties (host = smtp.gmail.com, smtp port = 587 STARTTLS = True, Scopes = Blank). Set the credentials to Oauth2.0 (Credential Flow), client ID, client secret, access token endpoint = https://oauth2.googleapis.com/token, set the scope to https://mail.google.com/ and then entered my test gmail account username.

When I enable the integration within Genesys I'm then getting the following error = 'Request for OAuth Bearer Tokens failed. Please check your auth server and the integration settings. Error = unsupported_grant_type'. It seems like Gsuite is rejecting the connection.

My hand is being forced to use Oauth as I believe basic authentication is no longer supported by Google?

0 1 77
1 REPLY 1

Thank you for your question @mattipler! This forum focuses on topics related to Application Integration, the integration Platform as a Service (iPaaS) to automate business processes by connecting any application with point-and-click configurations. If your query is connected to this product, we encourage you to provide additional details so that we can offer more tailored guidance.

If your question pertains to a different Google Cloud product, we recommend exploring other forums within the Google Cloud Community to find the most relevant space for your inquiry.

Let us know how we can assist further!

Top Labels in this Space