You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry, it looks like this was addressed in this thread: #58
After I updated this line:
$auth->newAuth($settings);
to this:
$auth = $auth->newAuth($settings);
It worked.
However, it should be noted that if you don't add session_start(); toward the top of the file, you'll get other "undefined variable" errors. That should be in the example code.
Am I missing something here? I used the example code in the readme file, but I'm never redirected to the app. I just get this error:
Fatal error: Call to undefined method Mautic\Auth\ApiAuth::validateAccessToken()
That's with this code:
If I just remove the try/catch, I end up with a blank page.
Thanks
The text was updated successfully, but these errors were encountered: