The LinkedIn login is deprecated; updating to the new scopes is necessary!

Hey @tyf,

I have been trying the new linkedin strategy (v3), and I think is buggy. Hopefully you can let me know if I am doing anything wrong.

I am having an issue and that is that the email from LinkedIn is not being retrieved and populated to the user.
Is there anything special that from a configuration point of view I have to do to, besides just click accept email?

I tried:

  • deleting the user and sign in again multiple times. This had worked only once, and the rest of the time the email is not retrieved.
  • deleting the social connection and adding it back
  • switching to v2 (deprecated) and then back to v3
  • etc, nothing seems to make it work consistenly.

On the other side, I am using the Account Linking extension, but if I cannot retrieve the email from Linkedin the account linking extension does not make any sense.

Thanks

P.S: When I look at my connections in the api/v2/connections they look like:

{
    ....
   {
    "id": .....,
    "options": {
      "email": true,
      "scope": [
        "email",
        "profile",
        "openid"
      ],
      "openid": true,
      "profile": true,
      "client_id": "",
      "strategy_version": 3
    },
    "strategy": "linkedin",
    "name": "linkedin",
    "is_domain_connection": false,
    "realms": [
      "linkedin"
    ],
    "enabled_clients": [
     ...
    ]
  },