在Quasar Framework中正确引导OAuth登录的方法

时间:2017-05-04 11:02:35

标签: oauth quasar

我尝试使用在Facebook上正常运行的iframe(但即使使用:src.sync属性,也无法捕获重定向网址),并拒绝使用Google帐户显示:

Refused to display 'https://accounts.google.com/o/oauth2/auth?client_id=xxx-yyy…enid+email+profile&state=zzz' in a frame because it set 'X-Frame-Options' to 'sameorigin'

所以我尝试了Utils.openURL,但我不知道是否有任何API可以获取重定向网址响应(与Android WebView上的shouldOverrideUrlLoading或iOS WebView上的shouldStartLoadWithRequest不同) SPA。

对此有什么正确的解决方法?

0 个答案:

没有答案