如何为Meteor添加LinkedIn登录?解决loginWithLinkedin未定义问题
Meteor: Uncaught TypeError: Meteor.loginWithLinkedin is not a function (LinkedIn OAuth Integration)
I'm working on integrating LinkedIn OAuth into my Meteor app, and here's what I've tried so far:
- Combined
accounts-baseandaccounts-oauthwith bothpauli:accounts-linkedinandjonperl:linkedinpackages (tested each separately) - Tested scenarios both with and without
accounts-uiincluded in the project - My Facebook login button works perfectly fine, so the core OAuth setup seems solid
However, whenever I try to trigger LinkedIn login, I hit this error:
Uncaught TypeError: Meteor.loginWithLinkedin is not a function
Once I get this sorted out, I also want to customize the LinkedIn authorization permissions (like requesting additional scopes beyond the default).
I've searched around but haven't found clear troubleshooting steps, example projects, or relevant documentation for this specific issue. Could someone point me in the right direction for fixing the loginWithLinkedin function error, and also advise on how to set custom scopes for LinkedIn in Meteor?
内容的提问来源于stack exchange,提问作者janjackson
相关产品推荐
相关产品推荐

