Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when using the plugin with SecurityComponent enabled #44

Open
eswoosh opened this issue Sep 17, 2014 · 2 comments
Open

Issue when using the plugin with SecurityComponent enabled #44

eswoosh opened this issue Sep 17, 2014 · 2 comments

Comments

@eswoosh
Copy link

eswoosh commented Sep 17, 2014

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:

  1. Why is this broken for me?
  2. Is disabling the validation and csrfCheck really sensible?
@aceat64
Copy link

aceat64 commented Jan 13, 2015

I have this issue as well. I have the security component disabled for now.

@wvdongen
Copy link

Same problem here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants