gateway: add simplex-address helper for onboarding
The daemon does not print its contact address; query /_show_address over the WebSocket API. scripts/simplex-address.py reads ws_url from config.json and prints the bot's short/full contact link so a human can add it in their SimpleX app. bootstrap.sh points at it in the next-steps hint.
This commit is contained in:
1 parent
5df560a922
commit
756d4b47b7
3 files changed
+84
-2
No files matched your search
@@ -369,8 +369,9 @@ SimpleX gateway:
|
||||
'semif-gateway' (agent). Check them with:
|
||||
systemctl --user status semif-simplex semif-gateway
|
||||
journalctl --user -u semif-gateway -f
|
||||
- Add this bot as a contact in your SimpleX app (its address is printed by the
|
||||
daemon), then put your contactId/display name in config.json
|
||||
- Show the bot's contact address (add it as a contact in your SimpleX app):
|
||||
"$PYTHON" scripts/simplex-address.py
|
||||
- Then put your contactId/display name in config.json
|
||||
gateway.simplex.allowed_users (discover the id from a 'gateway_denied' trace
|
||||
event or the daemon's /contacts) and reply. With an empty allowlist the
|
||||
gateway rejects everyone — that is the safe default.
|
||||
|
||||
Reference in new issue
Block a user