scripts/relay-test-client/README.md
Standalone browser client for testing relay path routing without modifying the Remote frontend UX.
From repo root:
python3 -m http.server 8787 --directory scripts/relay-test-client
Open:
http://127.0.0.1:8787/index.html
Remote API Base (example: https://localhost:3001)Relay API Base (example: https://relay.localhost:3001)Relay PAKE enrollment code ready).relay_test_access_tokenrelay_test_refresh_tokenThis client intentionally does not auto-refresh tokens. If a token expires, sign in again.
POST {remote_api}/v1/hosts/{host_id}/sessionsPOST {relay_api}/v1/relay/sessions/{session_id}/auth-codeGET {relay_url}/relay/h/{host_id}/exchange?code=... (follow redirect)POST {relay_session_prefix}/api/relay-auth/spake2/startPOST {relay_session_prefix}/api/relay-auth/spake2/finishGET {relay_session_prefix}/api/task-attemptsThe output includes the derived relay session prefix and full local backend response payload.