当我尝试访问我的 Google 日历(通过 Roundcube 网络邮件,使用 google_oauth2 插件)时,我得到了这个确切的错误:
错误:redirect_uri_mismatch 错误。请求中的重定向 URI:http://mail.domain.com:1066/?_task=settings&_action=google_redirect&_enable=cb 与注册的重定向 URI 不匹配
我的网络邮件托管在这个地址:http://mail.domain.com:1111/RCmail/
我的google项目设置如下:
授权的 JavaScript 来源
http://mail.domain.com:1111
授权重定向 URI
http://mail.domain.com:1111/RCmail/?_task=settings&_action=google_redirect&_enable=cb https://mail.domain.com:1111/RCmail/
注意:定向到 mail.domain.com:1111(没有 RCmail 路径)只是将它重定向到我的 xampp 页面,这不是我想要的