This repository was archived by the owner on Apr 9, 2025. It is now read-only.

Description
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:
- Why is this broken for me?
- Is disabling the validation and csrfCheck really sensible?