The page never loads, as Vuefire gets new AppCheck tokens in an infinite loop. Logs are full of:
[VueFire]: Getting Admin AppCheck
[VueFire]: Getting creating token for app <APP_ID>
[VueFire]: Got AppCheck token from the server: <TOKEN>
Additional information
It also seems somehow related to authentication. On "public" pages, a simple const articles = useCollection(collection(useFirestore(), 'articles')) would also trigger this behaviour. On pages using auth middleware, there are no issues.
Reproduction
N/A
Steps to reproduce the bug
Write some code that will trigger an error, for example:
Expected behavior
The page should display the error, i.e. "500 Maximum call stack size exceeded" in this case. Logs should be:
Actual behavior
The page never loads, as Vuefire gets new AppCheck tokens in an infinite loop. Logs are full of:
Additional information
It also seems somehow related to authentication. On "public" pages, a simple
const articles = useCollection(collection(useFirestore(), 'articles'))
would also trigger this behaviour. On pages using auth middleware, there are no issues.