by eVolpe Consulting Group

Are you facing difficulties trying to coordinate efforts between marketing and sales? The SuiteCRM & Mautic Integrator by eVolpe is the best solution that will help you solve this issue. TRY IT NOW FOR FREE!

Cancel at any time!
Free Trial

#3584 - Redirection error in plugin setup

Closed Installation created by devel 3 years ago

Dear Sirs, We are trying to setup connector between Mautic and SuiteCRM. We followed the guidelines of your installation guide. We have two machines: http://crm.autocerta.it/suitecrm and http://mautic.autocerta.it Both machines are not reachable from the internet because they are on a private lan. Both machines can communicate with each other. In mautic, we setup the plugin following instruction and prompt commands. We correctly can see EVolpe plugin in Mautic plugins page. We setup Mautic API and created a oauth2 key - secret pair, using this infos: http://mautic.autocerta.it/crm/mautic_api/get_token as Redirect URI Next we set up eVolpe Marketing Automation Integration using http://crm.autocerta.it/suitecrm as SugarCRM/SuiteCRM URL with a dedicated user and we proceeded to authenticate app. All works fine. After that we setup CONNECTOR PROPERTIES in SuiteCRM connectors module with the following credentials: Mautic Instance URL: http://mautic.autocerta.it Client/Consumer Key: the key created in API Mautic Client/Consumer Secret: the key created in API Mautic Always create new record: no Version of Mautic: 3.1.2 (the only one we have in dropdown options but we are using 3.2.5 Mautic Version) Create a new records of module: Contacts How often should system send OAuth token expiration email?: never

We saved options and re-entered section. Clicking on !CLICK THIS LINK to generate access tokens" we are prompted to a Mautic login form. We loginto and then we are asked to accept SUITECRM. After that we receive an error {"errors":[{"message":"Looks like I encountered an error (error #500). If I do it again, please report me to the system administrator!","code":500,"type":null}]} Could you help us to solve this issue? In Mautic error log we see 2021-04-27 12:48:47] mautic.CRITICAL: Uncaught PHP Exception OAuth2\OAuth2ServerException: "redirect_uri_mismatch" at /var/www/html/mautic/vendor/friendsofsymfony/oauth2-php/lib/OAuth2.php line 1118 {"exception":"[object] (OAuth2\OAuth2ServerException(code: 0): redirect_uri_mismatch at /var/www/html/mautic/vendor/friendsofsymfony/oauth2-php/lib/OAuth2.php:1118)"} []

  1. eVolpe member avatar

    eVolpe Consulting Group Provider

    3 years ago

    Hello,

    I forwarded your message to our developers. I'll back to you as soon as possible.

    Best, Maciej Jankiewicz eVolpe Support Team

  2. eVolpe member avatar

    eVolpe Consulting Group Provider

    3 years ago

    Hello,

    Please look at Step 2: Generate OAuth2 Credentials keys. You have to add that URL link:

    http://CRM_instance_URL_address/mautic_api/get_token

    You added Mautic URL instead of CRM URL.

    It should be: http://crm.autocerta.it/suitecrm/mautic_api/get_token,https://crm.autocerta.it/suitecrm/mautic_api/get_token

    In case you have additional questions please do not hesitate to contact me back.

    MJ

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
  • "Install and first test worked like a charm (well documented). Except for one little thing: In my environment there was an issue with database table cr..." - Endymion

    Read More Reviews