Context:
LinkedIn has deprecated the classic OAuth2 scopes r_liteprofile and r_emailaddress for all newly created apps as of August 1st, 2023. These scopes are no longer available to developer apps and have been replaced by OpenID Connect-based scopes:
- profile → replaces r_liteprofile
- email → replaces r_emailaddress
- openid → standard OpenID Connect login
Problem:
The current LinkedIn OAuth2 integration in n8n still requests r_liteprofile and r_emailaddress, which leads to this error for all new apps:
“unauthorized_scope_error: Scope “r_emailaddress” is not authorized for your application”
This makes it impossible to use the built-in LinkedIn OAuth2 credential and LinkedIn Node with new apps .
Temporary Workaround:
Custom OAuth2 credentials using only w_member_social work for posting, but do not support user identification or fetching profile data. Full login/integration is not possible without OpenID support.
Feature Request:
Please update the built-in LinkedIn OAuth2 credential and the LinkedIn Node to support the new OpenID-based scopes:
- Add support for openid, profile, and email
- Allow the use of Sign In with LinkedIn using OpenID Connect instead of the deprecated product
- Ideally: detect whether the app is new and use the appropriate scopes automatically
Why this matters:
This is currently a blocker for all new users who want to connect LinkedIn via n8n. As more external platforms deprecate older OAuth flows, this issue will become more common.
Thank you for considering this update!
Greetz
Holger