如何使用 Firebase 函数和 Node.js 实现 LinkedIn 身份验证?

时间:2021-06-17 10:37:40

标签: node.js firebase firebase-authentication google-cloud-functions linkedin

我想在我的 Android 应用程序中为使用 LinkedIn OAuth API 和 Firebase 的用户创建身份验证,但在 Firebase Auth 中没有直接身份验证的选项,但我从 GitHub 找到了一个使用 Firebase 函数和 Node.js 的解决方案

https://github.com/firebase/functions-samples/tree/master/linkedin-auth

我尝试使用此解决方案,但在linkedIn弹出窗口中输入凭据并单击提交按钮后,错误显示为“令牌函数中的错误:未定义”,并且在firebase控制台日志中显示“函数已完成状态: '崩溃'”。

LinkedIn Auth Error

Firebase Console log error

0 个答案:

没有答案
相关问题