EAuthException

<?xml version='1.0' encoding='UTF-8'?><errors><error code="415">Callback URL not approved for this client application. Approved callback URLs can be adjusted in your application settings</error></errors>

/home/itip/web/bestactor.ru/public_html/app/extensions/eauth/EOAuthService.php(80)

68     }
69 
70     /**
71      * Authenticate the user.
72      *
73      * @return boolean whether user was successfuly authenticated.
74      * @throws EAuthException
75      */
76     public function authenticate() {
77         $this->authenticated = $this->auth->authenticate();
78         $error = $this->auth->getError();
79         if (isset($error)) {
80             throw new EAuthException($error);
81         }
82 
83         // In case of successful authentication save access token and
84         // customer to session.
85         if ($this->authenticated) {
86             $this->saveCredentials();
87         }
88 
89         return $this->getIsAuthenticated();
90     }
91 
92     /**

Stack Trace

#0
+
 /home/itip/web/bestactor.ru/public_html/app/extensions/eauth/services/TwitterOAuthService.php(57): EOAuthService->authenticate()
52     public function authenticate() {
53         if (isset($_GET['denied'])) {
54             $this->cancel();
55         }
56 
57         return parent::authenticate();
58     }
59 }
#1
+
 /home/itip/web/bestactor.ru/public_html/app/controllers/frontend/UserController.php(31): TwitterOAuthService->authenticate()
26         if (isset($service)) {
27             $authIdentity = Yii::app()->eauth->getIdentity($service);
28             $authIdentity->redirectUrl = Yii::app()->user->returnUrl;
29             $authIdentity->cancelUrl = $this->createAbsoluteUrl('user/login');
30 
31             if ($authIdentity->authenticate()) {
32                 $identity = new ServiceUserIdentity($authIdentity);
33         
34                 // Успешный вход
35                 if ($identity->authenticate()) { 
36                     Yii::app()->user->login($identity);
#6
+
 /home/itip/web/bestactor.ru/public_html/app/modules/rights/components/RController.php(36): CFilter->filter()
31     */
32     public function filterRights($filterChain)
33     {
34         $filter = new RightsFilter;
35         $filter->allowedActions = $this->allowedActions();
36         $filter->filter($filterChain);
37     }
38 
39     /**
40     * @return string the actions that are always allowed separated by commas.
41     */
2024-03-19 08:35:00 Apache/2.4.57 (Debian) mod_fcgid/2.3.9 OpenSSL/1.1.1n Yii Framework/1.1.22