Back

check if the user exists before logging in with oath2

  • 0
  • Web
paulos
22 Dec, 2023, 07:08

i want to check if the user exists right now appwrite automaticaly creates an account for the user

TL;DR
User is asking why they should check if a user exists before logging in with OAuth2. They are concerned that it may allow bad actors to check if accounts exist on their app. They mention that they want to check if the user exists immediately because their app (Appwrite) automatically creates an account for the user. Solution: It is generally not recommended to have a feature that allows checking if accounts exist on your app before logging in with OAuth2. However, if you still want to implement this feature in Appwrite, you can modify the code to perform a check for user existence before creating a new account.
Drake
22 Dec, 2023, 15:08

Why? It's typically not a good idea to have something like that because then bad actors can check if accounts exist on your app

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