I have a user with email '[email protected]', with OAuth i created an extra identity for this user under a second email address: [email protected]. So this user has 1 user account with email '[email protected]', but 2 identity accounts: '[email protected]' and '[email protected]'
At a new login session i am trying to login [email protected]:
appwriteService.account.createOAuth2Session(
provider,
`${window.location.origin}/`,
`${window.location.origin}/login`,
);
I have blocked creating accounts from the client, and that only server sided functions can create accounts. But i dont want people to create a new account, but login into their existing account.
I am getting an error in de browser url:
http://localhost:3000/login?error={"message"%3A"The+current+project+has+exceeded+the+maximum+number+of+users.+Please+check+your+user+limit+in+the+Appwrite+console."%2C"type"%3A"user_count_exceeded"%2C"code"%3A400}