-
Notifications
You must be signed in to change notification settings - Fork 1.7k
OAuth redirect URIs should be customizable #9868
Description
Prerequisites
- I have searched for duplicate or closed issues
- I can recreate the issue with all plugins disabled
Describe the issue
I use an nginx proxy which terminates TLS requests on port 443 and proxies the requests to a Roundcube instance running on port 80. Roundcube generates the correct OAuth redirect URIs when use_https is set, i.e. https://domain.tld/index.php/login/oauth.
The problem arises when running Roundcube on non-standard ports, i.e. the non-root variant containers added in roundcube/roundcubemail-docker/pull/310 runs Apache on port 8000. In this case, Roundcube generates https://domain.tld:8000/index.php/login/oauth which is incorrect.
There does not appear to be a way to work around the issue. I think the simplest and most robust solution is to allow users to customize the non-path portions of the redirect URI.
What browser(s) are you seeing the problem on?
No response
What version of PHP are you using?
No response
What version of Roundcube are you using?
1.7-git
JavaScript errors
No response
PHP errors
No response