You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-17Lines changed: 15 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
A LinkedIn OAuth2 strategy for OmniAuth.
6
6
7
-
For more details, read the LinkedIn documentation: https://developer.linkedin.com/documents/authentication
7
+
For more details, read the LinkedIn documentation: https://developer.linkedin.com/docs/oauth2
8
8
9
9
## Installation
10
10
@@ -22,6 +22,8 @@ Or install it yourself as:
22
22
23
23
## Upgrading
24
24
25
+
This version is a major upgrade to the LinkedIn API version 2. As such, it switches from the soon to be no longer available `r_basicprofile` to `r_liteprofile`. This results in a much limited set of data that we can get from LinkedIn.
26
+
25
27
Previous versions of this gem used the provider name `:linkedin_oauth2`. In order to provide a cleaner upgrade path for users who were previously using the OAuth 1.0 omniauth adapter for LinkedIn [https://github.com/skorks/omniauth-linkedin], this has been renamed to just `:linkedin`.
26
28
27
29
Users who are upgrading from previous versions of this gem may need to update their Omniauth and/or Devise configurations to use the shorter provider name.
@@ -43,42 +45,38 @@ You can now access the OmniAuth LinkedIn OAuth2 URL: `/auth/linkedin`.
43
45
## Granting Member Permissions to Your Application
44
46
45
47
With the LinkedIn API, you have the ability to specify which permissions you want users to grant your application.
46
-
For more details, read the LinkedIn documentation: https://developer.linkedin.com/documents/authentication
48
+
For more details, read the LinkedIn documentation: https://developer.linkedin.com/docs/oauth2
47
49
48
50
By default, omniauth-linkedin-oauth2 requests the following permissions:
When specifying which permissions you want to users to grant to your application, you will probably want to specify the array of fields that you want returned in the omniauth hash. The list of default fields is as follows:
0 commit comments