Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

social login linkedin flow is broken and needs updating #7600

Closed
brutif opened this issue May 22, 2019 · 0 comments · Fixed by #8568
Closed

social login linkedin flow is broken and needs updating #7600

brutif opened this issue May 22, 2019 · 0 comments · Fixed by #8568
Labels
release bug This bug is present in a released version of Open Liberty release:19009 team:Security SSO

Comments

@brutif
Copy link
Contributor

brutif commented May 22, 2019

The Linkedin support in socialLogin-1.0 has quit working, due to linkedIn removing their v1 apis. Code needs to be updated to use v2 api's.

Error messages now seen:

[5/22/19 0:39:19:370 CDT] 0000003d com.ibm.ws.security.social.tai.TAIUserApiUtils               W CWWKS5461E: The social login feature encountered an error while getting user information from the user API [https://api.linkedin.com/v1/people/~:(firstName,id,lastName,email-address)] that is configured for social login configuration [linkedinLogin]. CWWKS5490E: Cannot process the response from the [https://api.linkedin.com/v1/people/~:(firstName,id,lastName,email-address)] user API endpoint. The response status was [410], error was [{
  "errorCode": 0,
  "message": "This resource is no longer available under v1 APIs",
  "requestId": "QZ2D0SDMNY",
  "status": 410,
  "timestamp": 1558503558326
}] and the error description was [null].

So I took a guess and changed the userApi attribute to specify "v2", but that doesn't work either:

[5/22/19 14:36:34:647 CDT] 000000f7 com.ibm.ws.security.social.tai.TAIUserApiUtils               W CWWKS5461E: The social login feature encountered an error while getting user information from the user API [https://api.linkedin.com/v2/people/~:(firstName,id,lastName,email-address)] that is configured for social login configuration [linkedinLogin]. CWWKS5490E: Cannot process the response from the [https://api.linkedin.com/v2/people/~:(firstName,id,lastName,email-address)] user API endpoint. The response status was [403], error was [{"serviceErrorCode":100,"message":"Not enough permissions to access: GET /people/~:(firstName,id,lastName,email-address)","status":403}] and the error description was [null].

it's not jumping out at me from the github docs how to get this working again

@brutif brutif added the release bug This bug is present in a released version of Open Liberty label Aug 12, 2019
@brutif brutif closed this as completed Aug 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release bug This bug is present in a released version of Open Liberty release:19009 team:Security SSO
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants