有人设法在 iOS 上使用 Firebase 实现 LinkedIn 登录吗? [英] Has someone managed to implement a LinkedIn login with Firebase on iOS?
问题描述
我目前正在构建一个应用程序,我希望人们能够使用他们的 LinkedIn 帐户进行注册.
I'm currently building an app and I would like people to be able to sign up with their LinkedIn account.
我在后端使用 Firebase,FirebaseAuth 框架目前不支持 LinkedIn.
I'm using Firebase for the back-end and LinkedIn isn't currently supported by the FirebaseAuth framework.
我知道 Firebase 允许自定义身份验证系统,但即使在 阅读有关此的文档后,我仍然很难理解如何将 LinkedIn 插入那里以及所谓的身份验证服务器是什么.
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?
预先感谢您的意见.
推荐答案
Firebase Authentication 仅支持四个开箱即用的联合身份提供商:Google、Facebook、Twitter 和 GitHub.
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).
您可以在此处阅读更多信息一个完整的例子(该链接适用于 Instagram,但也适用于他们所说的 LinkedIn).
You can read more here for a full example (the link is for Instagram but it will also work for LinkedIn as they say).
这篇关于有人设法在 iOS 上使用 Firebase 实现 LinkedIn 登录吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!