Error [user_count_exceeded] when trying to login with OAuth, email exists in Identity
- 0
- Functions
- Auth
- Cloud
I have a user with email 'test@test.nl', with OAuth i created an extra identity for this user under a second email address: test2@test2.nl. So this user has 1 user account with email 'test@test.nl', but 2 identity accounts: 'test@test.nl' and 'test2@test2.nl'
At a new login session i am trying to login test2@test2.nl:
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=%7B%22message%22%3A%22The+current+project+has+exceeded+the+maximum+number+of+users.+Please+check+your+user+limit+in+the+Appwrite+console.%22%2C%22type%22%3A%22user_count_exceeded%22%2C%22code%22%3A400%7D
Weird...I expect it to use the existing account via the Identity Rather than attempt to create a new user 🧐
We look up using the provider ID.
Recommended threads
- Create a new paid tier
Current pricing seems reasonable enough about what is someone getting for 25$. But for some people most of these resouces are getting wasted. Like the bandwidt...
- [Bug] Appwrite Auth User Prefs
User prefs are decoded as blank although there are plenty of data and add preference button not working in this case
- I have try to use the appwrite in to the...
Invalid Origin. Register your new client (oailedjdbkhlkakmnnapoonllbnfmfij) as a new Web (Chrome Extension) platform on your project console dashboard