Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Social Auth LinkedIn

Security covered Under active development 1,401 sites

Part of the Social ecosystem · 70 projects

This module allows users to register and log in to your Drupal site using their LinkedIn accounts. It can automatically create new accounts or log in existing ones based on LinkedIn credentials, and also allows users to associate their LinkedIn account with an existing Drupal account.

This project is part of the Drupal Social Initiative and is based on the Social API.

Social Auth LinkedIn allows users to register and login to your Drupal site with their LinkedIn account. The module allows websites to request any scopes, so any tasks requiring authentication with LinkedIn services can be performed. This module is based on Social Auth and Social API projects

This module adds the path user/login/linkedin which redirects the user to LinkedIn for authentication.

After LinkedIn has returned the user to your site, the module compares the user id or email address provided by LinkedIn. If the user has previously registered using LinkedIn or your site already has an account with the same email address, the user is logged in. If not, a new user account is created. Also, a LinkedIn account can be associated with an authenticated user.

Login process can be initiated from the "LinkedIn" button in the Social Auth block. Alternatively, site builders can place (and theme) a link to user/login/linkedin wherever on the site.

Configuration

In Drupal

  1. Log in as an admin.

  2. Navigate to Configuration » User authentication » LinkedIn and copy
    the Authorized redirect URL field value (the URL should end in
    /user/login/linkedin/callback).

In LinkedIn Developers

  1. Log in to a LinkedIn account.

  2. Click Create app.

  3. Complete all required fields.

    1. If necessary click Create a new LinkedIn Page to create a company page.

    2. Select Company as the page type.

    3. Fill it all required fields.

    4. Click Create page.

  4. Click Create app.

  5. Navigate to the Products section.

  6. Click Select for the Sign In with LinkedIn product.

  7. Read and agree to the terms and click Add product.

  8. Navigate to the Auth section.

  9. Click the edit icon for the Authorized redirect URLs for your app field and
    click Add redirect URL.

  10. Paste the URL copied from Step 2.

  11. Click Update.

  12. Copy the Client ID and Client Secret field values and save them somewhere
    safe.

In Drupal

  1. Return to Configuration » User authentication » LinkedIn

  2. Enter the client ID in the Client ID field.

  3. Enter the client secret in the Client secret field.

  4. Click Save configuration.

  5. Navigate to Structure » Block Layout and place a Social Auth login block
    somewhere on the site (if not already placed).

Drupal 9–11

Ask your assistant about Social Auth LinkedIn

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
May 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Active

Releases

Version Type Core PHP Release date
4.0.1 Stable 9–11 Sep 4, 2024
4.0.0 Stable 9–10 May 3, 2023