console icon indicating copy to clipboard operation
console copied to clipboard

🐛 Bug Report: Auth user limit value (authLimit) is always displayed as 100 in web console on Cloud

Open f1refliesss opened this issue 6 months ago • 1 comments

👟 Reproduction steps

Hello everyone!

I'd like to report a bug that occurs in the Appwrite web console on Appwrite Cloud. Appwrite allows you to set a limit on how many users can register from the client side. A value as 100 is shown after refreshing the page even though the underlying value is correct. It seems like this bug is purely cosmetically.

How to reproduce this bug?

  1. Open the Appwrite web console on Appwrite Cloud and navigate to your project
  2. Go to "Auth" and select the "Security" tab
  3. Under "User limit" change the default value to 14 (this can be any number) and press the "Update" button
  4. Press the F5 button to reload the page, the value changed to 100
  5. (After entering 14 again you'll notice that the "Update" button becomes grayed out, this indicates that the web console knows that 14 is the actual value, and not 100, and therefore it cannot be updated)

Output from Charles Proxy that shows that authLimit is correctly retrieved as 1:

{ "total": 7, "projects": [{ "$id": "-", "$createdAt": "2024-08-20T11:24:33.167+00:00", "$updatedAt": "2025-07-29T15:05:36.606+00:00", "name": "-", "description": "", "teamId": "-", "logo": "", "url": "", "legalName": "", "legalCountry": "", "legalState": "", "legalCity": "", "legalAddress": "", "legalTaxId": "", "authDuration": 31536000, "authLimit": 1, "authSessionsLimit": 10, "authPasswordHistory": 0, "authPasswordDictionary": false, "authPersonalDataCheck": false, "authMockNumbers": [], "authSessionAlerts": false, "authMembershipsUserName": true, "authMembershipsUserEmail": true, "authMembershipsMfa": true, "oAuthProviders": [{ "key": "amazon", "name": "Amazon", "appId": "", "secret": "", "enabled": false }, { "key": "apple", "name": "Apple", "appId": "", "secret": "", "enabled": false }, {

It looks like this:

Image

👍 Expected behavior

The actually value of authLimit should be displayed.

👎 Actual Behavior

A value of 100 is displayed after refreshing the page, no matter the real value of authLimit.

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Windows

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • [x] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

f1refliesss avatar Jul 30 '25 09:07 f1refliesss

@f1refliesss thanks for raising this issue based on our discussion on Discord! 🙏🏼 Seems like we have a bug somewhere in https://github.com/appwrite/console/blob/main/src/routes/(console)/project-%5Bregion%5D-%5Bproject%5D/auth/security/updateUsersLimit.svelte.

stnguyen90 avatar Jul 30 '25 17:07 stnguyen90