Is LinkedIn OpenID Connect provider? How can it be used with AWS Cognito Federated Identity?

99封情书 提交于 2019-12-06 23:40:07

问题


The AWS Cognito documentation is very sketchy when it comes to explaining OpenID Connect providers or how to implement auth using say LinkedIn. The nearest example is of SalesForce

https://aws.amazon.com/blogs/security/building-an-app-using-amazon-cognito-and-an-openid-connect-identity-provider/

These steps did not work for LinkedIn using it Javascript SDK. Not able to retrieve id_token similar to FB or Google JS SDK. AWS needs id_token to return the AWS credentials.

Anyone has successfully implemented Linked with AWS Cognito?


回答1:


Nope. It seems Linkedin does not offer full OpenID Connect. Also see this thread on the AWS Forum.

A possible solution would be to use Cognito with Auth0 (which can log you in via Linkedin).



来源:https://stackoverflow.com/questions/41900534/is-linkedin-openid-connect-provider-how-can-it-be-used-with-aws-cognito-federat

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!