From da536aa74fc0f5b74582615db0ed5a90cda4d779 Mon Sep 17 00:00:00 2001 From: Nikita Date: Mon, 23 Sep 2019 14:46:02 +0300 Subject: [PATCH] new param --- example.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/example.php b/example.php index 9d2fb3f..1c2c378 100644 --- a/example.php +++ b/example.php @@ -38,9 +38,15 @@ class="amocrm_oauth" data-class-name="className" data-color="default" data-state="' . $_SESSION['oauth2state'] . '" + data-error-callback="handleOauthError" src="https://www.amocrm.ru/auth/button.min.js" > '; + echo ''; die; } else { $authorizationUrl = $provider->getAuthorizationUrl();