Hi,
New to Auth0. We have the following desired scenario:
- Create a new user in Auth0
- Send a user email with link and temporary password
- Allow user to authenticate with email/temporary password OR Google workspace
In the above scenario when a user uses the temporary password everything works fine. However, when they use the Google Workspace – a new user is created.
We’d like to have the Google Workspace user assume the identity of the created user from step 1.
Have tried everything in a Post Login Action but have been unsuccessful. I can use the hook to search for the email address matching the successful login from Google Workspace but I can’t figure out how to set the found user as the current logged in user.
Any thoughts?