Skip to content

Commit 83d376d

Browse files
authored
Merge pull request #144 from Warp-net/claude/fix-qr-code-reading-k0eaS
Include full AuthNodeInfo in QR code for mobile pairing
2 parents acc0ac1 + 0be743e commit 83d376d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

frontend/src/service/service.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,10 @@ export const warpnetService = {
126126

127127
warpnetService.setOwnerProfile(resp.identity.owner)
128128

129-
const qrData = JSON.stringify(resp.identity);
129+
// The QR carries the full AuthNodeInfo envelope (identity + node_info)
130+
// so the mobile pairing client gets both the credentials and the
131+
// multiaddrs/peer-id it needs to dial this node.
132+
const qrData = JSON.stringify(resp);
130133
resp.identity.token = null // for security reasons
131134

132135
const qrCode = await buildQRCode(qrData)

0 commit comments

Comments
 (0)