我尝试使用在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。
对此有什么正确的解决方法?