1

从 vue 应用程序成功登录后,我想将我的应用程序重定向到其原始页面。下面是代码片段:

Vue.use(VueAuthenticate, {
  baseUrl: 'http://localhost:3000',

  providers: {
    linkedin: {
      clientId: 'abc',
      clientSecret:'def',
      name: 'linkedin',
      redirectUri: 'abc.com/linkedin-success',
      requiredUrlParams: ['scope','code','redirectUri','clientId'],
      scope: ['r_emailaddress', 'r_liteprofile'],
      scopeDelimiter: ',',
      oauthType: '2.0',
      popupOptions: { width: 527, height: 582 },
      authRedirect: {path: '/linkedin-success'},
    },[enter image description here][1]
  }

})

我收到了这个错误

4

0 回答 0