This is a demo application. You can see authorized requests working both on client side, and during pre-render. The whole process uses secure cookies, so this will only work if the appwrite server is a subdomain of your frontend app.