[V20 Bug] Google OAuth integration appends port 443 instead of 5001 (redirect_uri_mismatch)

Shap

Customer
Joined
Nov 12, 2023
Messages
4
Reaction score
3
Hi Community,

After updating to the latest 3CX build, I am encountering a redirect_uri_mismatch error when attempting to complete the Google Workspace / SSO integration setup.

In the 3CX Management Console under Google Workspace Integration, the interface explicitly states:

"You will need to copy this URI into the Authorized Redirect URI section in the Google Cloud Console: https://[YOUR_3CX_FQDN]:5001/oauth2google"
However, when clicking on Google login button to launch the Google OAuth flow, 3CX builds and sends an outbound authorization request with port 443 / no port explicitly defined:

redirect_uri=https://[YOUR_3CX<_FQDN]/oauth2google

Has anyone else noticed this discrepancy in the recent update, or is there a patch planned to align the generated URI string with the UI prompt?

Thanks!
 
Last edited:
Hi @Shap If you go to dashboard, what port do you see there for HTTPS and HTTP?

For SSO only, you just need to click the SSO CONFIGURE button it should display the Redirect URI with the correct port, can you confirm it shows you the correct https port? because then you just have to follow the steps in this document https://www.3cx.com/docs/manual/google-sso/ copy and paste the client id and secret and save the changes, by doing that then SSO will be enabled for all the users.
 

Forum statistics

Threads
112,102
Messages
590,763
Members
165,087
Latest member
Amey Nhavelkar