The WordPress LinkedIn Login Plugin allows WordPress users to login to WordPress with their LinkedIn credentials in one click. This plugin adds a LinkedIn login button to the login form, and adds a shortcode that allows you to add a “Login via LinkedIn” link anywhere on your website.
[wpli_login_link text=”Login Via LinkedIn”]
The last link allows you to have different shortcodes point to different URLs. This is especially useful if you want to have different user flows after login.
Use the action pkli_linkedin_authenticated to perform actions once the plugin has authenticated. Example:
Frequently Asked Questions
Q: Where do I find my LinkedIn API Key and Secret Key?
A: Here are the steps you need to take in order to find your API keys.
- Go to https://www.linkedin.com/secure/developer and create a new application.
- Fill out any required fields such as the application name and description.
- Set OAuth 2.0 Redirect URLs: to http://example.com/wp-login.php (Replace this with your login page address. This is important, or else the plugin will not work)
- After creating the application, you will be able to see your API key and secret. Copy and paste them into your plugin.