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

Not able get past authorization #35

Closed
SandyRig opened this issue Mar 19, 2015 · 3 comments
Closed

Not able get past authorization #35

SandyRig opened this issue Mar 19, 2015 · 3 comments

Comments

@SandyRig
Copy link

Hello,

I am using this on a WordPress project. I only want to get a specific company's updates.

I initially got facade fatal errors which I resolved using this.

"That is because you don't use the Facade.
Remove the vendor folder and install it again with composer update --no-dev and you will use the global $_SESSION array."

Now I cant seem to get past this check
if ($linkedIn->isAuthenticated()) { // my code }

I have double checked the App keys.

I am not sure why its not authenticating and I am not sure how to check for any errors. Any help or information would be highly appreciated. Thanks

@Nyholm
Copy link
Member

Nyholm commented May 6, 2015

Check out the latest code in the master. Do you still have issues?
Have you configured your application properly with redirect_uri etc?

@irfanevrens
Copy link
Contributor

I am using this codes to pass isAuthenticated...

$_REQUEST['code'] = isset($_GET['code']) ? $_GET['code'] : null;
$_REQUEST['state'] = isset($_GET['state']) ? $_GET['state'] : null;

if ($linkedin->isAuthenticated()) {

    $linkedin->get('...');
}

@Nyholm
Copy link
Member

Nyholm commented Oct 30, 2015

Hey @irfanevrens
I'm sorry I have not taken action on you answer until now. I've just made a commit that will solve this issue for you.

It will be merged as soon as php-http is ready.

@Nyholm Nyholm closed this as completed Oct 30, 2015
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