The following steps lead to an error page:
- On mobile (iOS) while not logged in, go to https://twitter.com/intent/follow?screen_name=TeamSideqik
- You will be prompted to login. Enter an incorrect password (not unusual for mobile users)
- You will be redirected to https://mobile.twitter.com/login The redirect_after_login parameter will not contain a domain name.
- After login, you are redirected back to https://mobile.twitter.com/intent/follow which does not exist.
The root problem here is that when a user enters an incorrect password, they are sent to the login page with a redirect back to the intent. However, since the redirect param does not contain a domain name - the redirect goes back to mobile.twitter.com. The intent routes are not valid for the mobile domain, which leaves the user on an error page.
Please fix this bug and/or suggest a workaround. Thanks!