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

Undefined index: _opauth_twitter' When permission denied #17

Open
thedumbtechguy opened this issue Aug 8, 2014 · 3 comments
Open

Undefined index: _opauth_twitter' When permission denied #17

thedumbtechguy opened this issue Aug 8, 2014 · 3 comments

Comments

@thedumbtechguy
Copy link

I keep getting this exception thrown.

exception 'ErrorException' with message 'Undefined index: _opauth_twitter' in /TwitterStrategy.php:95

One of the urls is before
/opauth/twitter/oauth_callback?denied=Kgwq29X2b1eXPyH9QSMMDuMFgnDAXthYmtdAubT1EQo

@needcaffeine
Copy link

+1

@ceeram
Copy link
Member

ceeram commented Aug 25, 2014

How can i reproduce this? Also what version are you using. I don't have
this issue on either 0.4.x as 1.0-alpha.
Op 25 aug. 2014 00:22 schreef "Vic Vijayakumar" [email protected]:

+1


Reply to this email directly or view it on GitHub
#17 (comment).

@thedumbtechguy
Copy link
Author

To reproduce, try denying the oauth request. The url shows.

I am using the latest version. My composer line "opauth/twitter": "dev-master",
I am not certain what happens , but I suspect the code on line 79

if ($results !== false && !empty($results['oauth_token']) && !empty($results['oauth_token_secret'])){

does not take into account denials.

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