I am loading
https://api.twitter.com/oauth/authorize within a WebView for signing into my app via Twitter.
While this works fine when the user’s login credentials are correct, I have noticed a redirect loop is encountered when the user enters incorrect credentials.
If a user’s login info is incorrect, they will be redirected to the following link . However, I have noticed that this link fails to load on Android devices due to a redirect loop. I have further replicated this error via Chrome Dev Tools by using an Android user agent. Please note that the link seems to be fine if using a desktop or iOS user agent.
Due to this, I have concluded that this is likely an error within the API.
Has anyone else encountered this error?