Vue.js AI based website recognise face on multiple devices?

Is there a way to have a Vue.js AI based proctoring website capture the face of an unlogged in person on one device, assign an ID to it and have the same ID pulled up from the website’s server when that person’s face is recognised on another device? Like basically having the former device’s session restored on the latter device for that Face ID.

Any possibilities with Swift / Vue.js alongside Mongo DB supporting this?