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?