dashersw / biri

A unique, static client ID generator for browser applications
GNU General Public License v3.0
145 stars 19 forks source link

ID used on multiple devices #8

Open cubabit opened 3 years ago

cubabit commented 3 years ago

We have been using biri on our website to assign an ID to a user before they contact our API to determine if they have accessed our service before.

We send the ID generated by biri (if it is supported in the client) to the API and it records the first usage of that ID with the user-agent supplied in the header.

We have found the same ID used by different devices - once from Chrome on a Samsung mobile, and then again on Safari on an iPhone. From what I understand of biri, the ID is unique to the device and this should not happen.

Am I misunderstanding something?

haytefli92 commented 3 years ago

we also encountered this problem. the same ID on two different android devices.

draeder commented 2 years ago

Hmm. This is a problem. The ID from WebRTC may not be as unique as expected due to its length. Maybe combining Biri with more standard approaches will help solve this.

abrahamjuliot commented 2 years ago

EDIT: This is obsolete https://webrtc-review.googlesource.com/c/src/+/281220