Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 748
prem911 Avatar asked Jan 27 '17 18:01

prem911


People also ask

Does AWS Cognito support OpenID connect?

OpenID Connect is an open standard for authentication that a number of login providers support. Amazon Cognito supports you to link identities with OpenID Connect providers that you configure through AWS Identity and Access Management .

Which public identity providers can I use with Amazon Cognito identity?

Q: When using public identity providers, does Amazon Cognito Identity store users' credentials? No, your app communicates directly with the supported public identity provider (Amazon, Facebook, Twitter, Google, or an Open ID Connect-compliant provider) to authenticate users.

Is AWS Cognito an identity provider?

Amazon Cognito provides an identity store that scales to millions of users, supports social and enterprise identity federation, and offers advanced security features to protect your consumers and business.


1 Answers

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).

like image 83
joost Avatar answered Sep 29 '22 12:09

joost