themattharris / tmhOAuth

An OAuth 1.0A library written in PHP
Apache License 2.0
857 stars 335 forks source link

Wrong username password warning if user isn't logged in #172

Closed trante closed 10 years ago

trante commented 10 years ago

I'm not sure this problem is tmhOAuth specific. Possibly it is a Twitter related issue but I wanted to be sure that tmhOAuth isn't the problem:

I have an Android application that uses Twitter REST API 1.1 and tmhOAuth.

When user clicks "Sign in with Twitter" I open a WebView and load this page: https://api.twitter.com/oauth/authenticate?oauth_token=123456

If user is already logged in, Twitter page asks user to authorization. Everything is fine.

If user isn't already logged in, on top of the page this text appears "Something is technically wrong" "wrong username or password". And Twitter page asks user to fill username and password. After user fills username and password, system authorizes the user and everything works fine.

But my visitors complains about the sentence on top. They say that they even didn't fill their username and password but Twitter page says that wrong password. What creates this alert ? How can I prevent it ?

trante commented 10 years ago

That was my error . Thank you I solved.