mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-05-30 15:14:14 +00:00
the new captcha page has a Link with the token. No need for the other steps anymore
parent
19aef94871
commit
1361f24362
@ -18,41 +18,8 @@ To get the token, go to https://signalcaptchas.org/registration/generate.html
|
||||
After filling the captcha, the site doesn't show the token but redirects to a `signalcaptcha://` url that contains the token.
|
||||
|
||||
How to see the captcha token depends on whether one of the official apps (Desktop/iOS/Android) is installed. Because in that case the `signalcaptcha://` url scheme is handled by the apps and the captcha cannot be seen directly.
|
||||
|
||||
### No official app installed -Firefox
|
||||
To see the URL you can open the browser developer tools (F12) before completing the captcha.
|
||||
Hint: Enable the option "Persist Logs" in the "Console Settings" to prevent clearing the console each time navigating to a new page.
|
||||
|
||||
Check the console in the developer tools for a redirect starting with `signalcaptcha://`
|
||||
Everything after `signalcaptcha://` is the captcha token (INCLUDING the `signal-recaptcha-v2.6LfBXs0bAAAAAAjkDyyI1Lk5gBAUWfhI_bIyox5W.registration` part).
|
||||

|
||||
|
||||
### Get token from network request
|
||||
|
||||
To see the URL you can open the browser developer tools (F12) before completing the captcha and navigate to the network tab.
|
||||
The request which includes the captcha token (upon successful completion of the captcha challenge) is a POST with the following path: https://www.google.com/recaptcha/enterprise/userverify. The response includes just the captcha token in the json under key "1". The request includes the 40 character site key for signalcaptchas.org which is 6LfBXs0bAAAAAAjkDyyI1Lk5gBAUWfhI_bIyox5W. See screenshots below.
|
||||
|
||||
To get a complete captcha token, prepend `signal-recaptcha-v2.6LfBXs0bAAAAAAjkDyyI1Lk5gBAUWfhI_bIyox5W.registration.` to the token from the request (`03AG...motOQ`)
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
### Register custom protocol handler
|
||||
|
||||
See [#701](https://github.com/AsamK/signal-cli/issues/701) or [#724](https://github.com/AsamK/signal-cli/issues/724) for some suggestions.
|
||||
|
||||
### If you already have the official desktop app installed - Brave
|
||||
* Go to: https://signalcaptchas.org/registration/generate.html press F12
|
||||
* Click on the "Network Tab"
|
||||
* Within the Network tab, sort on tab: "Name".
|
||||
* Complete the captcha and click on Verify. If the browser asks: "Open link with" don't do anything with that, just ignore it.
|
||||
* After clicking "Verify", you should see an entry that starts with:`signal-recaptcha-v2...`. Click on that entry.
|
||||
If there are multiple, select the lowest/latest one (assuming sort A-Z from top to bottom).
|
||||
* In the right pane, below headers, it should now show the captcha token that you should enter in the CLI.
|
||||

|
||||
|
||||
* Get the token by right clicking on it and clicking: `copy value`. You can paste that directly into:
|
||||
* There is a link appearing underneath the captcha called "Open Signal".
|
||||
* Get the token by right clicking on it and clicking: `copy url`. You can paste that directly into:
|
||||
```
|
||||
signal-cli -u $PHONE_NR register --captcha what_you_copied
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user