Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

reCAPTCHA

Valérie ROUX edited this page Apr 22, 2023 · 2 revisions

Firebase reCAPTCHA auth

To get a valid recaptchaToken to log in, you need to set up a URI handler for android intent:// URIs. There's probably a better way of doing this on iOS platforms but I don't have access to those, or just use vonage, It'll make your life easier.

Clean way, recommended on Linux

Before going down this path, make sure you have some basic command line understanding/skills or you're gonna have a bad time figuring out the steps to make this work.

I wrote a small utility here that does all the work for you. Beware that after installing it, anything that goes through intent:// will open that program and trigger an error, because it only parses intents from Firebase reCAPTCHA web/android auth, the "thing" that BeReal uses.

Manual way

Instead of setting up the rather complex URI handler, open developer tools/inspect tool in your browser, and feed the URL that starts with intent:// as an argument to intentview. You might need to refresh your browser tab before seeing the requests.

You can also use this python script written by ohld:

from urllib import parse

# copy your intent string here
intent = input("Enter the intent URL: ")
intent_arguments = intent.split(";")

for item in intent_arguments:
    if item.startswith("S.link="):
        raw_recaptcha_token_value = item[len("S.link="):]
        query = parse.parse_qs(parse.urlsplit(parse.unquote(raw_recaptcha_token_value)).query)
        recaptcha_token = query["recaptchaToken"][0]
        print(f"Recaptcha Token:\n{recaptcha_token}")
        break

Clone this wiki locally