v20 - Test window breaks updating refresh tokens (Dynamics, etc.)

Evolute IT

3CX MVP
Gold Partner
Advanced Certified
Joined
Feb 6, 2018
Messages
11,248
Reaction score
7,110
Hi,

We discovered what seems to be a bug in v20u3 (also U4) where the TEST feature of the CRM page breaks authorization if a CRM, like Dynamics, uses a new RefreshToken when getting a new Access Token. It seems to affect any CRM that receives a new refresh token when running the Auth scenario.

If we use the TEST feature, it works once then it breaks since it didn't update the refresh token properly. If we don't touch it tho, it works properly in the background and gets refreshed correctly.

We have tested with Dynamics and our custom Bullhorn template.
 
This is something that happened in the past and we fixed it. It was related to the console not saving the changes to the parameters when it performs the test. The thing is that some CRMs like Dynamics or Kommo CRM, change the refresh token and invalidate the previous one. This causes that the integration stops working if the new token is not saved.
 
  • Like
Reactions: Evolute IT
This is something that happened in the past and we fixed it. It was related to the console not saving the changes to the parameters when it performs the test. The thing is that some CRMs like Dynamics or Kommo CRM, change the refresh token and invalidate the previous one. This causes that the integration stops working if the new token is not saved.
I don't mean it's fixed now. What I'm saying is that this happened in some previous v20 update, and we fixed it before 3CX did the release, so no one noticed it. But now it seems it happened again.
 
  • Like
Reactions: Evolute IT
Hello @ConceptsWeb,

Can you please clarify if you are using a custom CRM template? If so if you try the integration using the default template are you still experiencing the same issue?
 
Hello @ConceptsWeb,

Can you please clarify if you are using a custom CRM template? If so if you try the integration using the default template are you still experiencing the same issue?
We tried using the default Dynamics template, and our own custom for a different CRM.

The issue seems to be limited to v20 and the Test feature not updating the refresh token.
 
Thank you for the feedback, I've sent you a pm in order to get additional information, in the meantime we are also looking into the issue
 
@ConceptsWeb this will be fixed in the upcoming update 5.
Thanks for reporting.
 
We are still giving this issue kindly help us in order to fix, we have been your customer for the past eight years
We need your fast action. And support