User Identification

Hi,

Just started experimenting with tailscale. Very interesting product.

When I visit https://hello.ipn.dev/ the application running there seems to access some data which allows it to correlate the incoming connection with a specific user (it displays my email/name).

Can someone elaborate it does this? I would like to use similar things to integrate tailscale more deeply into the system.

-Adam

Hi, the “tailscale local API” used to do this is still evolving and requires a sufficiently new tailscale version. (I can’t remember if this was in v1.6.0 or not, but if you build from the main branch, it’s there). A sample client library (in Go) you can play with is here: https://github.com/tailscale/tailscale/tree/main/client/tailscale. This is the one hello.ipn.dev is using.

1 Like