Sign in authentication error redirects to Twitter not back to app


I’ve noticed over the last few days that if you open an oAuth sign in window in an app and get the login information wrong, then sign in correctly the second time you aren’t redirected back to the app but signed into mobile twitter instead.