opentrace-community / opentrace-cloud-functions

OpenTrace Cloud Functions. Reference implementation of the BlueTrace protocol.
https://bluetrace.io
GNU General Public License v3.0
273 stars 121 forks source link

Map uploaded data to UID #32

Open sawan1990 opened 4 years ago

sawan1990 commented 4 years ago

How can we get a user from auth based on uploaded data

shekoufa commented 4 years ago

Did you manage to find a solution for this?

Hoangtho11188 commented 4 years ago

Anything new on this?

qtangs commented 4 years ago

We have shared a reference implementation for processUploadedData, you can find the logic to obtain user from the upload token here:

https://github.com/opentrace-community/opentrace-cloud-functions/blob/master/functions/src/opentrace/processUploadedData.ts#L97