Search code examples
iosswiftfirebaselinkedin-apifirebase-authentication

Has someone managed to implement a LinkedIn login with Firebase on iOS?


I'm currently building an app and I would like people to be able to sign up with their LinkedIn account.

I'm using Firebase for the back-end and LinkedIn isn't currently supported by the FirebaseAuth framework.

I know Firebase allows Custom Auth System but even after reading the doc about this, I still struggle to understand how I can plug LinkedIn there and what the so-called authentification server is.

Has someone managed to make this work?

Thanks in advance for your inputs.


Solution

  • Firebase Authentication supports only four federated Identity Providers out of the box: Google, Facebook, Twitter and GitHub.

    For every other provider you have to use custom tokens (you will need an external Webservice).

    You can read more here for a full example (the link is for Instagram but it will also work for LinkedIn as they say).