Login flow not triggering passcode confirmation

Open
#6,906 17 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

This issue has not been assessed yet.

Description

I get blocked every time I get a new WiFi connection - there's no way to login into the app.

After entering the password, it should display the text field for confirmation code (and I should get an email too!) but this flow is broken. We need to check if we're even hitting Wikimedia's servers or it's not working at the server end itself.

Logs:

fr.free.nrw.commons.auth.login.LoginFailedException: Incorrect password or confirmation code entered. Please try again. (Explain with AI)
                                                                                                    	at fr.free.nrw.commons.auth.login.LoginClient$login$1.onResponse(LoginClient.kt:139)
                                                                                                    	at retrofit2.DefaultCallAdapterFactory$ExecutorCallbackCall$1.lambda$onResponse$0$retrofit2-DefaultCallAdapterFactory$ExecutorCallbackCall$1(DefaultCallAdapterFactory.java:82)
                                                                                                    	at retrofit2.DefaultCallAdapterFactory$ExecutorCallbackCall$1$$ExternalSyntheticLambda0.run(D8$$SyntheticClass:0)
                                                                                                    	at android.os.Handler.handleCallback(Handler.java:1001)
                                                                                                    	at android.os.Handler.dispatchMessage(Handler.java:105)
                                                                                                    	at android.os.Looper.loopOnce(Looper.java:268)
                                                                                                    	at android.os.Looper.loop(Looper.java:384)
                                                                                                    	at android.app.ActivityThread.main(ActivityThread.java:8936)
                                                                                                    	at java.lang.reflect.Method.invoke(Native Method)
                                                                                                    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
                                                                                                    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:907)
Dominant language
Kotlin
Stars
1.2k
Forks
1.4k
Avg merge
1d 4h
Merged PRs (30d)
156

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from commons-app/apps-android-commons

All issues in commons-app/apps-android-commons

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.