Skip to content

FireBaseAuth not working in TIER-App #1281

Open

Description

@eplinux

Dear all,
when TIER App tries to perform a SMS-auth via FireBaseAuth, the microG overlayer appears but nothing happens. Below I attached a logcat. I stripped off the key part of the URL https://www.googleapis.com/identitytoolkit/v3/relyingparty/getProjectConfig?key=[replaced] because I'm not sure whether it contains sensitive info. I'm running microG 0.2.13.203915, Android 10, device is lavender.

11-25 22:24:41.221 D/GmsFirebaseAuth( 4035): onBind: Intent { act=com.google.firebase.auth.api.gms.service.START pkg=com.google.android.gms }
11-25 22:25:00.825 D/GmsFirebaseAuth( 4035): sendVerificationCode
11-25 22:25:01.168 E/Volley ( 4035): [333] BasicNetwork.performRequest: Unexpected response code 403 for https://www.googleapis.com/identitytoolkit/v3/relyingparty/getProjectConfig?key=[replaced]
11-25 22:25:01.363 W/WindowManager( 1610): Unable to start animation, surface is null or no children.
11-25 22:25:01.470 E/Volley ( 4035): [333] BasicNetwork.performRequest: Unexpected response code 403 for https://www.googleapis.com/identitytoolkit/v3/relyingparty/getProjectConfig?key=[replaced]
11-25 22:25:01.471 W/GmsFirebaseAuth( 4035):
11-25 22:25:01.471 W/GmsFirebaseAuth( 4035): java.lang.RuntimeException: com.android.volley.AuthFailureError
11-25 22:25:01.471 W/GmsFirebaseAuth( 4035): at org.microg.gms.firebase.auth.IdentityToolkitClient$getProjectConfig$2$2.onErrorResponse(IdentityToolkitClient.kt:58)
11-25 22:25:01.471 W/GmsFirebaseAuth( 4035): at com.android.volley.Request.deliverError(Request.java:617)
11-25 22:25:01.471 W/GmsFirebaseAuth( 4035): at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:104)
11-25 22:25:01.471 W/GmsFirebaseAuth( 4035): at android.os.Handler.handleCallback(Handler.java:883)
11-25 22:25:01.471 W/GmsFirebaseAuth( 4035): at android.os.Handler.dispatchMessage(Handler.java:100)
11-25 22:25:01.471 W/GmsFirebaseAuth( 4035): at android.os.Looper.loop(Looper.java:214)
11-25 22:25:01.471 W/GmsFirebaseAuth( 4035): at android.app.ActivityThread.main(ActivityThread.java:7356)
11-25 22:25:01.471 W/GmsFirebaseAuth( 4035): at java.lang.reflect.Method.invoke(Native Method)
11-25 22:25:01.471 W/GmsFirebaseAuth( 4035): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
11-25 22:25:01.471 W/GmsFirebaseAuth( 4035): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940)
11-25 22:25:01.471 W/GmsFirebaseAuth( 4035): Caused by: com.android.volley.AuthFailureError
11-25 22:25:01.471 W/GmsFirebaseAuth( 4035): at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:195)
11-25 22:25:01.471 W/GmsFirebaseAuth( 4035): at com.android.volley.NetworkDispatcher.processRequest(NetworkDispatcher.java:131)
11-25 22:25:01.471 W/GmsFirebaseAuth( 4035): at com.android.volley.NetworkDispatcher.processRequest(NetworkDispatcher.java:111)
11-25 22:25:01.471 W/GmsFirebaseAuth( 4035): at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:90)

Activity

  1. Romern commented on Nov 25, 2020

    @Romern

    See #1198 (comment) . Tier banned non-android authentication.

  2. jomo02 commented on Sep 14, 2021

    @jomo02

    Any news on that?

    I have a similar problem in LineageOS with microG (0.2.22.212658) when I try to register in Tier.

    I can type in my phone number and click on continue. It opens the browser then with a connection to https://consumer-app-release.firebaseapp.com/__/auth/handler?apiKey=.... After being led back to the app an error occurs :

    At the moment we can not send you a code. Please try in a few minutes.

    Everything is checked in the microG self test and I activated Cloud Messaging and Google SafetyNet.

  3. TonyK0s commented on Dec 30, 2021

    @TonyK0s

    Just download an older version, for example i am vurrently using TIER app on 3.5.0 version, no firebase checks at all.

  4. Romern commented on Dec 31, 2021

    @Romern

    @TonyK0s I can not confirm this, I downloaded Version 3.5.0 (version code 35000461) from the play store using Aurora, but when logging in, the FirebaseAuth Dialog still appears.

  5. TonyK0s commented on Jan 2, 2022

    @TonyK0s

    Then clear all data and cache.

  6. jomo02 commented on Jan 2, 2022

    @jomo02

    I tried version 3.5.0 from Aurora Store and APK Fun, but both are just getting stuck in an loading loop after entering the phone number. I cleared all app data and cache.

  7. Romern commented on Jan 2, 2022

    @Romern

    @TonyK0s It won't work, because both apps use FirebaseAuth, and they have to, as the API requires it, there are no alternative or old APIs. You probably have play services installed or aren't logging in, as the main view doesn't require authentification.

  8. ou-li commented on Apr 21, 2022

    @ou-li

    No luck here either. :-(
    I end up in the Browser:
    "Unable to process request due to missing initial state..."

    @acipenser How do I clear app data (other than deleting and re-installing?)

    LineageOS with MicroG 18.1 from 1/3/2022

    Services Core 0.2.24.214816

    Don't know if the following arre needed:
    Services Framework Proxy 0.1.0
    FakeStore 0.0.2
    DroidGuard Helper 0.1.0

  9. henk23 commented on Sep 12, 2022

    @henk23

    I can type in my phone number and click on continue. It opens the browser then with a connection to https://consumer-app-release.firebaseapp.com/__/auth/handler?apiKey=.... After being led back to the app an error occurs :

    At the moment we can not send you a code. Please try in a few minutes.

    I have the exact same behavior, but have installed a Samsung Stock Android 12 with original Google Play Store. So maybe the issue is not related to MicroG after all?

  10. tamas646 commented on Sep 5, 2023

    @tamas646

    I can type in my phone number and click on continue. It opens the browser then with a connection to https://consumer-app-release.firebaseapp.com/__/auth/handler?apiKey=.... After being led back to the app an error occurs :

    At the moment we can not send you a code. Please try in a few minutes.

    I have the same behavior.
    (LOS 20 with microG 0.2.27.223616 - TIER 4.0.114)

  11. xdubx commented on Oct 11, 2023

    @xdubx

    Same problem.

    Micro g Version 0.2.29.233013-49 (1a2e94c)
    Tier Version 4.0.119

    Calyxos 4.14.0

  12. tamas646 commented on Jan 16, 2024

    @tamas646

    TIER app now seems to be working fine (at least for me).

    TIER app version: 4.0.127
    MicroG version: 0.2.27.223616
    Android version: LOS 20 (2024-01-05 nightly)

  13. jomo02 commented on Jan 16, 2024

    @jomo02

    TIER app now seems to be working fine (at least for me).

    TIER app version: 4.0.127 MicroG version: 0.2.27.223616 Android version: LOS 20 (2024-01-05 nightly)

    Cannot confirm that (Same TIER app, MicroG and LOS version). Tried to sign up with my phone number. Did you use the Google Sign-In?

  14. tamas646 commented on Jan 16, 2024

    @tamas646

    Cannot confirm that (Same TIER app, MicroG and LOS version). Tried to sign up with my phone number. Did you use the Google Sign-In?

    No, I didn't. I used SMS verification.
    I reinstalled the app, and now it stuck at loading screen after I selected 'Other options'. 😕
    Sorry, it was probably a false alarm.

  15. tamas646 commented on Jan 16, 2024

    @tamas646

    Okay, I tried it multiple times...
    It seems it was just a network issue (maybe slow connection) which caused the loading screen to hang.

    But now I can say for sure that SMS authentication is indeed working fine for me.

  16. jomo02 commented on May 28, 2024

    @jomo02

    I updated to LineageOS 21.0 (2024-05-21) and it's working now for me.
    microG Version is still on 0.2.27.223616

  17. mmueller-kaffeeschluerfercom commented on Jun 4, 2024

    @mmueller-kaffeeschluerfercom

    works for me with LineageOS 21: #1967 (comment)

  18. clan1995 commented on Jun 4, 2024

    @clan1995
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions