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
Inside my beforeFilter in AppController.php then 'it' (opauth) works, without it my callback gets black-holed by SecurityComponent.
I thought this issue had previously been fixed, but for some reason on my app the code from app/Plugin/Opauth/Controller/OpauthController.php (lines 16,17,18) are not executing? - does that mean the IF statement on line 16 ( " if (is_object($this->Security)) { ") is not returning true?
2 questions then:
Why is this broken for me?
Is disabling the validation and csrfCheck really sensible?
The text was updated successfully, but these errors were encountered:
Security component is black holing my callback requests.
If i put:
if($this->action == 'opauth_complete') {
$this->Security->validatePost = false;
$this->Security->csrfCheck = false;
}
Inside my beforeFilter in AppController.php then 'it' (opauth) works, without it my callback gets black-holed by SecurityComponent.
I thought this issue had previously been fixed, but for some reason on my app the code from app/Plugin/Opauth/Controller/OpauthController.php (lines 16,17,18) are not executing? - does that mean the IF statement on line 16 ( " if (is_object($this->Security)) { ") is not returning true?
2 questions then:
The text was updated successfully, but these errors were encountered: