As of today I have been encountering an issue with creating and logging in of users. When I create a new user, the auth0 client info retrieves a completely separate user than the one I just created, and the same issue is going on for login where it retrieves a different user.
Example, most recent created was “email@example.com”, when redirected and attempted to retrieve auth0 client info, it comes back as “firstname.lastname@example.org”. When I check the log on my auth0 dashboard, it has logged it as “email@example.com” (which I never typed anywhere, and it’s random as previous attempts gave different emails), but if I click to see the log details, sure enough the email is stated as “firstname.lastname@example.org”.
Now, this is giving some major issues as I rely on the email (profile.name) in the callback to fetch the user info from our database, and because the profile.name doesn’t match the created email, it won’t find anything in the database and the flow kinda stops there because of that.
Has anyone experienced anything similar?