如何获得Vue身份验证以使Twitter工作

时间:2019-12-08 06:37:46

标签: vue.js oauth

对于Facebook,Google,Instagram等,过程是将用户从应用程序定向到oauth,然后定向到回调,但是当使用twitter vue-authenticate时,用户定向到给定的回调和发布: / p>

authorizationEndpoint: "https://api.twitter.com/oauth/authenticate"
defaultUrlParams: null
name: "twitter"
oauthType: "1.0"
popupOptions: {width: 495, height: 645}
redirectUri: "http://localhost:8080"
requiredUrlParams: null
scope: null
scopeDelimiter: null
scopePrefix: null
url: "/auth/twitter"

后端应该在Twitter上的oauth之前先做些什么吗?

谢谢。

0 个答案:

没有答案