Unique ID for each user CLIENT/API #1090

Closed
opened 2025-11-20 05:23:53 -05:00 by saavagebueno · 0 comments
Owner

Originally created by @ismail0234 on GitHub (Jul 25, 2024).

I need a unique id value for each user. This ID Value must be included both on the user side and in the API. But you can think of this id value as an "access token". Each user can only see their own ID value.

Why do we need this?

I am currently using netbird in a project. Every user makes a request to the php api and I need to find the Netbird counterpart of the person who sent the request. Currently I do this using FQDN or Netbird IP, but this causes a security vulnerability. Because other users can see these values by typing "netbird status" and use the api as if I am sending a request.

What do I want?

Each user needs to be assigned an Identity Value of 24/32 characters when they first join the network. This value can be displayed using the "netbird show-identity" command. This command will only show the ID information that belongs to me. The ID of other users on the network should not be visible. We can use this value as an "access token" with the PHP API to find the user's peer on the server and provide a transaction.

ID/24: ADBCA4SAD4AS5D4ASD41231
ID/32: ADBCA4SAD4AS5D4ASD41231A54ASD54 (LIKE MD5)

netbird show-identity

Displays the unique and secret ID value assigned to me when I first joined the network.

NOTE: There may also be a button to reset this ID only in the Netbird panel. Because if other users learn a user's ID we can use it to reset it.

Originally created by @ismail0234 on GitHub (Jul 25, 2024). I need a unique id value for each user. This ID Value must be included both on the user side and in the API. But you can think of this id value as an "access token". Each user can only see their own ID value. ## **Why do we need this?** I am currently using netbird in a project. Every user makes a request to the php api and I need to find the Netbird counterpart of the person who sent the request. Currently I do this using FQDN or Netbird IP, but this causes a security vulnerability. Because other users can see these values by typing "netbird status" and use the api as if I am sending a request. ## **What do I want?** Each user needs to be assigned an Identity Value of 24/32 characters when they first join the network. This value can be displayed using the **"netbird show-identity"** command. This command will only show the ID information that belongs to me. The ID of other users on the network should not be visible. We can use this value as an "access token" with the PHP API to find the user's peer on the server and provide a transaction. ID/24: ADBCA4SAD4AS5D4ASD41231 ID/32: ADBCA4SAD4AS5D4ASD41231A54ASD54 (LIKE MD5) ### netbird show-identity Displays the unique and secret ID value assigned to me when I first joined the network. **NOTE:** There may also be a button to reset this ID only in the Netbird panel. Because if other users learn a user's ID we can use it to reset it.
saavagebueno added the feature-request label 2025-11-20 05:23:53 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1090