在Quasar框架中实现OAuth登录的正确方法

在Quasar框架中实现OAuth登录的正确方法,oauth,quasar,Oauth,Quasar,我曾尝试使用在facebook上正常工作的iframe(但即使使用:src.sync属性,也无法捕获重定向Url),但它拒绝使用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'

我曾尝试使用在facebook上正常工作的
iframe
(但即使使用
:src.sync
属性,也无法捕获重定向Url),但它拒绝使用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'
因此我尝试了,但我不知道SPA中是否有任何API来获取重定向URL响应(不同于Android WebView上的
shouldOverrideUrlLoading
,或iOS WebView上的
shouldStartLoadWithRequest

正确的解决方法是什么