本文介绍了在Linkedin上使用python-social-auth的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用python社交身份验证来允许用户使用LinkedIn进行登录.有没有办法像我们对Facebook一样从响应中提取令牌,并通过发出ajax请求将令牌传递给后端.
Hi I'm using python social auth to allow user sign in using LinkedIn. Is there a way to extract token from the response like we do for Facebook and pass it to the backend by making an ajax request.
推荐答案
这是一个示例,使用 python-linkedin 库,您可以使用其后端/管道原理对社交身份验证执行类似的操作
Here's an example using the python-linkedin library, you could probably do something similar with social auth using its backend/pipeline principle
这篇关于在Linkedin上使用python-social-auth的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!