• We have create some oauth2 key pairs.
    In the redirect uri (mautic side) we have inserted (separated by comma):
    https://www.mysite.it/wp-admin/admin.php?page=automate-mautic,
    https://www.mysite.it/wp-admin,
    https://www.mysite.it,
    https://mysite.it/wp-admin,
    https://mysite.it

    On the automateplug authentication setup, into the wordpress admin, I have wrote:
    https://auto.mysite.it (that is the url of the mautic setup)

    On mautic I haven’t the basic auth, I have clean up several times the cache.

    When I try to authenticate, The page shows the “trust” of the oauth2 application, I accept. After I return on the plug setup.

    All seems works well, but is not true.
    If I want show the segments in the rules I see an error: “there appear to be an error with the configuration”. And with “query monitor” (a plugin that check something on wordpress) I notice that there is two API CALLS that goes in forbidden: “401 unauthorized”.

    I don’t find the configuration problem!

    Many thanks in advance for the support

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Nikhil Chavan

    (@nikschavan)

    Hi @infocropit,

    Can you only keep one domain name https://www.mysite.it/wp-admin in the redirect URI instead of a comma-separated list of URLs?

    Thread Starter infocropit

    (@infocropit)

    Many thank Nikhil for your reply.

    I have inserted a single url, as you you wrote.
    When I made the connection form automateplug I am forwarded to mautic, after I make the login and I Accept the request.
    The process returns:
    error_description: “The redirect URI provided does not match registered URI(s). (error and error_description are deprecated as of 2.6.0 and will be removed in 3.0. Use the errors array instead.)”

    Plugin Author Nikhil Chavan

    (@nikschavan)

    Can you give a screenshot of settings in the plugin and in the API screen in Mautic?

    don’t forget to hide the API credentials or any sensitive information from the screenshot.

    Thread Starter infocropit

    (@infocropit)

    I don’t see the option about sending files in this board…
    If you can tell me an email address, I can send you.

    Many many thanks for the support!

    Plugin Author Nikhil Chavan

    (@nikschavan)

    Hello,

    You can use external service to upload images there and post links here. For example – Dropbox/ Google Drive, CloudApp etc.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘401 Unauthorized’ is closed to new replies.