We have 2 types of sign up: 1st - email sign up and 2nd is soo sign up, for SSO sign there are further two more options - facebook and google, so for some users who sign up through SSO -> google, the distinct id is a random string of characters and for some users the distinct id is their email address.
For some users the distinct id before identify is their email address and their distinct id is a random string of characters which should be the other way around ?
For some users the distinct id is “undefined” who have mostly signed up via SSO
So for all the users with all the different types of sign up, I want their email address to be their distinct id. How do I do this?