laravel / socialite

Laravel wrapper around OAuth 1 & OAuth 2 libraries.

Home Page:https://laravel.com/docs/socialite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can i make our customer to login with linkedin

esameisa opened this issue · comments

I try to do this
return Socialite::driver('linkedin')->redirect();
but i found this issue
Scope r_liteprofile is not authorized for your application

I have those products permissions

  • Sign In with LinkedIn using OpenID Connect
  • Share on LinkedIn
  • Advertising API

What can i do ?

this fix is:

    public function linkedinRedirect()
    {
        return Socialite::driver('linkedin-openid')->redirect();
    }