I’m experiencing an issue while integrating LinkedIn with our Open edX application. The following error is occurring:
raise AuthFailed(self, data.get('error_description') or
social_core.exceptions.AuthFailed: Authentication failed: Scope "r_liteprofile" is not authorized for your application
[10/Oct/2024 17:08:08] "GET /auth/complete/linkedin-oauth2/?error=unauthorized_scope_error&error_description=Scope+%26quot%3Br_liteprofile%26quot%3B+is+not+authorized+for+your+application&state=hPZlGt3ikapXnptg17gKEnqpIUzUOkBR HTTP/1.1" 500 383350
Authentication failed: Scope "r_liteprofile" is not authorized for your application.
With the new feature, “Sign In with LinkedIn using OpenID Connect,” I have noticed that the settings in the LinkedIn Developer portal are different from the older configuration.
@sarina I already checked a lot of information online, and it turns out LinkedIn deprecated the 'Sign In with LinkedIn' feature on August 1, 2023. Now we can only use it through OpenID Connect with the ‘openid,’ ‘email,’ and ‘profile’ scopes instead of the old ones. I also noticed that edX isn’t using LinkedIn for SSO anymore, which might mean we need to make some changes here. Since things aren’t working at the moment
@Yagnesh hmm, unfortunately I don’t know very much about SSO. Are you saying we need to enhance the current implementation of SSO to support OpenID Connect?