[doc] Protocol for currently deployed version #66
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Directives
Pair Request (to
directives.pair_request.pathname)scopewould be domains and ports to be requested, but that's not usedotpis generated client-sideThe response looks like:
(note: this should have included the connect URL... oops!)
The JWT looks like:
Connect to websocket
note: the tunnel is constructed from the index.json
tunnelandapi_hostthe actual protocol is described at https://git.coolaj86.com/coolaj86/proxy-packer.js
Pair State Polling (from
LinkorLocationresponse header)The status can change from
pendingtoready(browser sent correct otp) tocomplete(websocket accepted)Pair Info (requested from the web browser)
Pair Code (sent by web browser)
note: the idea of giving the token back to the browser was for an admin portal which was never built