Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: mvk on January 27, 2022, 05:19:10 AM

Title: Example configuration with Google OAUTH2
Post by: mvk on January 27, 2022, 05:19:10 AM
Has anyone had successful Roundcube 1.5.2 configuration experience with Google OAUTH2?
I've added these configuration options, got the button on the login screen but can't log in.
What did I miss?

// Enable OAuth2 by defining a provider. Use 'generic' here
$config['oauth_provider'] = 'google';

// Provider name to be displayed on the login button
$config['oauth_provider_name'] = 'Google';

// Mandatory: OAuth client ID for your Roundcube installation
$config['oauth_client_id'] = 'XXX.apps.googleusercontent.com';

// Mandatory: OAuth client secret
$config['oauth_client_secret'] = 'GOCSPX-XXX';

// Mandatory: URI for OAuth user authentication (redirect)
$config['oauth_auth_uri'] = 'https://my.server/index.php/login/oauth';
Title: Re: Example configuration with Google OAUTH2
Post by: xuo on August 20, 2022, 12:22:14 PM
Hi,

I've got the same question. No one can help ?
Personnally, I even don't know how to get the oauth_client_id and oauth_client_secret values.

Regards.

Xuo.