我已经使用更改了Auth
xauth.setOAuthWindowUrl("https://www.mypage.com");
调用
auth.login(req, callback)
接受弹出窗口后显示"https://www.mypage.com/#access_token=....&token_type=载体&expires_in=3600"而不是关闭。未触发Callback
-onSuccess
。
全部基于http://code.google.com/p/gwt-oauth2/
它不会将Auth更改为不同的重定向,如:
xauth.setOAuthWindowUrl("https://www.mypage.com");
就让它来吧"https://www.mypage.com/oauthWindow.html"并且窗口正确关闭,回调也在工作。