Getting a QuotaExceedError when trying to use a Realm function

I’m getting this error when trying to acces a function like this:

const app = new Realm.App({

        id: "appId"

    });

    try {

        const user = await app.logIn(Realm.Credentials.anonymous());

        await user.functions.login(loginForm)
        .then(response => {})

Error:
QuotaExceededError: Failed to execute ‘setItem’ on ‘Storage’: Setting the value of ‘realm-web:app(appId):user(614d91a):accessToken’ exceeded the quota.)

(accessToken is shortened for security reasons, as well as appId is not the actual appId)