Unique user_id to track users

Folks,
From reading the documentation, its apparent that upon a successful login, the JWT will contain the facebook|234083724 style of sub.
What I am looking for is a unique user_id that will stay consistent across all social/email auth platforms for a particular user.

I.e. If a user changes their email, or signs in with google, auth0 will always send me a unique userId that will stay consistent for that user. Is this possible?

Hi @vasiliyb,

Welcome to the Auth0 Community Forum!

Have you looked into account linking? Otherwise a user logging in with username/password and a user logging in with google are considered separate users.

Hope this helps!

Thanks,
Dan

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.