<?php

// MailHub's private HTTP origin as seen from the Roundcube PHP runtime.
// The plugin appends only the fixed /internal/webmail-sso/* paths.
$config['mailhub_sso_internal_base_url'] = 'http://app:3000';

// Exact external HTTPS origin of this Roundcube deployment. It must match the
// origin configured by MailHub's WEBMAIL_SSO_URL (no path or trailing slash).
$config['mailhub_sso_audience'] = 'https://mail.us.ss5.xyz';

// Read the shared secret from a file mounted read-only into both runtimes.
$config['mailhub_sso_secret_file'] = '/run/secrets/webmail_sso_secret';

// Users and credentials returned by MailHub are always sent to this host.
$config['mailhub_sso_imap_host'] = 'ssl://in.ss5.xyz:993';
