Consider a situation where users twitter account is temporarily locked ( error “To protect our users from spam and other malicious activity, this account is temporarily locked”, error code - 326 ).
Now that user connects his account with my app , now he will redirected to user login page, now he enters the username and password and after that a twitter access verification page opens ( “https://twitter.com/account/access” ) , now this page asked me to change password, and then otp verification ( I tried replicating with other account and it asked me to verify phone number), so after verification , it goes to this page (“https://twitter.com/account/password-reset-complete” ) and gives option to continue to twitter but not redirected to my app.
But if user account is not locked , then its getting redirected.