Recently, I need to implement twitter login in my android app, so I integrate twitter4j in my app, but an issue block me when open url with webview, authentication url load successfully as follow:

I input my username and password and then Sign In, webview redirect to an url but failed:

I don't know why and how to solve, can anyone help?