Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does google identity platform supports LinkedIn out of the box like it does for Facebook or Gmail

I am trying to use google identity platform for my application by following the below link Google Identity Platfrom

But on this page, no identity provider mentioned for LinkedIn and same is not searchable on web.

What I understood is Google's Identity platform is using Firebase underneath. I am just wondering, on Firebase portal it is mentioned that a custom implementation is required for LinkedIn whereas under the GCP account -> Add provider I can see LinkedIn.

What I would like to know is, if it is possible to add LinkedIn as provider out of the box under identity platform. GCP account -> Identity platform -> Add provider

like image 316
Paul Phoenix Avatar asked Sep 19 '25 20:09

Paul Phoenix


1 Answers

You can use LinkedIn.com provider directly via Identity Platform without using custom authentication. It is the same as using a generic OAuth provider like Microsoft or any other provider. Here is an web example:

const provider = new firebase.auth.OAuthProvider('linkedin.com');
firebase.auth().signInWithPopup(provider)
  .then((userCredential) => {
    // User signed in.
  })
  .catch((error) => {
    // Error signing in.
  });

However, this is currently not yet available in Firebase.

like image 84
bojeil Avatar answered Sep 21 '25 12:09

bojeil