twitter-kit-android icon indicating copy to clipboard operation
twitter-kit-android copied to clipboard

Authorization completed with an error com.twitter.sdk.android.core.TwitterAuthException: Authorize failed.

Open wahdatkashmiri33 opened this issue 6 years ago • 10 comments

How to resolve this error Authorization completed with an error com.twitter.sdk.android.core.TwitterAuthException: Authorize failed. at com.twitter.sdk.android.core.identity.TwitterAuthClient.handleAuthorize(TwitterAuthClient.java:112) at com.twitter.sdk.android.core.identity.TwitterAuthClient.authorize(TwitterAuthClient.java:103) at com.twitter.sdk.android.core.identity.TwitterLoginButton$LoginClickListener.onClick(TwitterLoginButton.java:160) at android.view.View.performClick(View.java:5106) at android.view.View$PerformClick.run(View.java:20329) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5912) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)

wahdatkashmiri33 avatar Apr 27 '18 07:04 wahdatkashmiri33

I have this problem, too.Thanks for helping out.

cgalaxy avatar May 07 '18 12:05 cgalaxy

Where's Twitter dev team? This issue was opened 2 months ago. And dev team still on holiday?

tuandungnguyen avatar Jun 14 '18 10:06 tuandungnguyen

I received this error this morning. It was working earlier this week.

Will5 avatar Jun 20 '18 13:06 Will5

But it's not working on my side

On Wed, Jun 20, 2018, 6:46 PM Will [email protected] wrote:

I received this error this morning. It was working earlier this week.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/twitter/twitter-kit-android/issues/123#issuecomment-398754091, or mute the thread https://github.com/notifications/unsubscribe-auth/AOkFL0E_5_2wx1lEfQWTfwGyGt4afKN0ks5t-lJNgaJpZM4Tp5dC .

babar-mustafa avatar Jun 20 '18 13:06 babar-mustafa

If you get any problem. please contact me on Skype: dung.nguyen-iavtech

tuandungnguyen avatar Jun 20 '18 14:06 tuandungnguyen

I am also getting this kind of erro for Twitter sign in. I have also updated Callback URL in my app settings.

I am using this gradle implementation 'com.twitter.sdk.android:twitter-core:3.3.0'

OAuth web view completed with an error
   com.twitter.sdk.android.core.identity.WebViewException
       at com.twitter.sdk.android.core.identity.OAuthWebViewClient.onReceivedSslError(OAuthWebViewClient.java:79)
       at yk.a(PG:494)
       at aiN.run(Unknown Source:2)
       at android.os.Handler.handleCallback(Handler.java:789)
       at android.os.Handler.dispatchMessage(Handler.java:98)
       at android.os.Looper.loop(Looper.java:164)
       at android.app.ActivityThread.main(ActivityThread.java:6541)
       at java.lang.reflect.Method.invoke(Native Method)
       at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

giteekasawlani avatar Jul 13 '18 06:07 giteekasawlani

I'm using android galaxy S6 Edge, Nougat 7.0 and had the same problem at first time login. Other device working fine. Please fix it !

newstarbka avatar Aug 14 '18 04:08 newstarbka

I have the same issue!! Please check...

jjimenez0611 avatar Dec 04 '18 22:12 jjimenez0611

I have the same issue!! Please check...

Please see closed issue #134,have already solved

it's because of this change in twitter api. to workaround the issue, you can specify following callback urls in your app console at

TwitterKit for Android url scheme :twittersdk:// TwitterKit for iOS url scheme : twitterkit-YOUR_CONSUMER_KEY://

cgalaxy avatar Dec 05 '18 02:12 cgalaxy

Thanks!! :)

jjimenez0611 avatar Dec 05 '18 16:12 jjimenez0611