Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APP_NOT_VERIFIED #2

Open
ninoturakura opened this issue Dec 14, 2023 · 8 comments
Open

APP_NOT_VERIFIED #2

ninoturakura opened this issue Dec 14, 2023 · 8 comments
Labels
bug Something isn't working can't reproduce The issue can't be reproduced

Comments

@ninoturakura
Copy link

ninoturakura commented Dec 14, 2023

Greetings, when I tried to login using my phone number I got this error:
{'error': {'code': 400, 'message': 'APP_NOT_VERIFIED', 'errors': [{'message': 'APP_NOT_VERIFIED', 'domain': 'global', 'reason': 'invalid'}]}}

it seems so that this occurs on my country's numbers (Im From georgia), I tried temporary sms receiver french number and it worked. can you please tell me what could be causing it?

or can you please tell me how did you got access to those endpoints? did you used Mitm proxy? maybe I need to change header and user client.

@StarNumber12046
Copy link
Owner

Does this happen with the normal app? I still need to push a fix that is currently in testing. I hope it will resolve this

@StarNumber12046
Copy link
Owner

or can you please tell me how did you got access to those endpoints? did you used Mitm proxy? maybe I need to change header and user client.

For the auth I used https://github.com/macedonga/BeFake and for the rest the bereal reverse-engineered docs

@StarNumber12046
Copy link
Owner

I fixed the API. Can you retry?

@ninoturakura
Copy link
Author

ninoturakura commented Jan 18, 2024

Thanks! Tbh I tried all the github public repos even that one as well but it also fails.

or can you please tell me how did you got access to those endpoints? did you used Mitm proxy? maybe I need to change header and user client.

For the auth I used https://github.com/macedonga/beunblurreed and for the rest the bereal reverse-engineered docs

@ninoturakura
Copy link
Author

I fixed the API. Can you retry?

Yes I retried, but still nothing much, I got this message:
{'error': {'code': 400, 'message': 'APP_NOT_VERIFIED', 'errors': [{'message': 'APP_NOT_VERIFIED', 'domain': 'global', 'reason': 'invalid'}]}}

from this API: https://www.googleapis.com/identitytoolkit/v3/relyingparty/sendVerificationCode

@ninoturakura
Copy link
Author

ninoturakura commented Jan 18, 2024

I'm somehow blameing this issue to headers, like this one:

        params={"key": GOOGLE_API_KEY},
        json={
            "appToken": "54F80A258C35A916B38A3AD83CA5DDD48A44BFE2461F90831E0F97EBA4BB2EC7"
        },
        headers={
            "x-client-version": "iOS/FirebaseSDK/9.5.0/FirebaseCore-iOS",
            "x-ios-bundle-identifier": "AlexisBarreyat.BeReal",
            "accept-language": "en",
            "user-agent": "FirebaseAuth.iOS/9.5.0 AlexisBarreyat.BeReal/0.32.0 iPhone/15.7.1 hw/iPhone9_1",
            "x-firebase-locale": "en",
            "x-firebase-gmpid": "1:405768487586:ios:28c4df089ca92b89",
            "Content-Type": "application/json",
        },

or to firebase_receipt, but mainly headers because those headers were used over and over again in every repo that I checked.

@ninoturakura
Copy link
Author

@StarNumber12046 what u think?

@StarNumber12046
Copy link
Owner

It works for me, I can't repro this

@StarNumber12046 StarNumber12046 added the bug Something isn't working label Jan 19, 2024
@StarNumber12046 StarNumber12046 added the can't reproduce The issue can't be reproduced label Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working can't reproduce The issue can't be reproduced
Projects
None yet
Development

No branches or pull requests

2 participants