-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to authenticate #11
Comments
The issue turned out to be because of missing |
mautic/api-library provide service to interact with your mautic app. |
how to update with official api |
https://localhost/mautic/application/register and accept the app, I get redirected to the callback url with status and code parameters. I got the same question |
@codewithyou Mautic does not work locally. It requires a valid SSL. |
we can generate local SSL Certificate using LetsEncrypt
*Thanks & Regards,*
*Prince Ali Khan*
*Phone, *+91 99 40 619658
[email protected] || [email protected]
*Facebook <http://www.facebook.com/princekhanprofile> || Twitter
<https://twitter.com/princeprofile> *
…On Mon, Oct 1, 2018 at 1:39 PM inkas ***@***.***> wrote:
@codewithyou <https://github.com/codewithyou> Mautic does not work
locally. It requires a valid SSL.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF6Fd_qGXnBUtw4ULDC8GyQQrln4aHrnks5ugc3UgaJpZM4SgC4k>
.
|
I'm having a similar problem for the past few days: I'm using Mautic v4.4 with OAuth2 (there is no option for v1 or other) with Laravel 8. My Laravel's settings are: When I hit "https://domain.com/mautic/application/register" it shows "Mautic App Already Register" and I do have a row in the "mautic_consumer" table. But whenever I try to do any API request I get a 403 error. I'm trying to do a POST request to https://emails.domain.com/api/contacts/new , just to test the API. Tried it with GET https://emails.domain.com/api/contacts , but I got the same result - 403 Forbidden I'm not sure if my Mautic's configuration is ok. In https://emails.domain.com -> API Credentials -> as a redirect URI I've entered "https://domain.com" - is this the correct value there? I searched everywhere for "Mautic API 403", but there are literally no results on the topic. ps: I managed to do the authentication & API requests by using the mautic/api-library code. So it seems that the problem is in this package. |
Hi. I get an error while trying to authenticate. The error I am getting is:
It looks like it cannot generate an access token and I never get a record on the
mautic_consumer
table.My env file settings:
Mautic API Credential settings:
When I hit
https://localhost/mautic/application/register
and accept the app, I get redirected to the callback url with status and code parameters.I am using Mautic v2.12.2, php 7.1.
One more question - why do this package requires
mautic/api-library
v2.1.1? Is the issue related to usage of old version of themautic/api-library
as v2.10.0 is out now?The text was updated successfully, but these errors were encountered: