Back

New Users not created on OAuth2 Login

  • 0
  • Cloud
LazyNinja
19 Jun, 2024, 13:21

When I try to login with google oauth2, the new user that is to be created is added as an identity to the previous user instead of being created as different user. The emails are different and in no way related but still it adds the new email as identity of the previous ones

TL;DR
Issue: New users are not being created on OAuth2 login and are instead being linked as an identity to the previous user. Potential Solution: Try logging out the current user by deleting the session and then attempt the OAuth login again. This may help separate the new user and create them as a distinct entity.
darShan
19 Jun, 2024, 13:51

its possible that if a user is alread logged-in when the OAuth was performed, it might be linked as an identity. Can you try logging out the current user by deleting the session and then trying the OAuth?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more