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

LinkedIn::getLoginUrl() is not including redirect_uri #10

Open
Hestabit opened this issue Oct 12, 2016 · 0 comments
Open

LinkedIn::getLoginUrl() is not including redirect_uri #10

Hestabit opened this issue Oct 12, 2016 · 0 comments

Comments

@Hestabit
Copy link

I am using LinkedIn::getLoginUrl(['scope' => 'r_fullprofile,r_emailaddress,w_share']) to my LinkedIn login link, its considering the current URL in redirect_uri.

Login Link

<li><a href="{!! LinkedIn::getLoginUrl(array('scope' => 'r_fullprofile,r_emailaddress,w_share')); !!}" class="social-login linkedin" id="linkedin"><i class="fa fa-linkedin"></i>Linkedin</a></li>

LinkedIn Config

return [ 'api_key' => env('LINKEDIN_CLIENTID'), 'api_secret' => env('LINKEDIN_SECRETKEY'), 'redirect_uri' => env('LINKEDIN_REDIRECT_URL') ];

Let me know if I am doing something wrong.

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

0 participants