I'm using https://appwrite.zachhandley.com
unless it just wants it without the subdomain?
Did you read what I linked?
I see that, so because I'm developing on localhost and my server is in the cloud it's going to reject my cookies and force localStorage which seems to be resetting every 15 minutes?
Yes except for that last part.
well it keeps logging me out
idk why
it just resets the state every now and then and I get logged out
if I refresh the page it logs me out too
my current auth
Can you check localstorage to see what's in there?
I call initAuth
in App
yeah trying to find it
in edge
localStorage
but it says I'm logged out <a:thinkRoll:585724848823599105>
So there's a problem with your code
Can you use the debugger to walk through and see if account.get() is called?
Yeah I'm modifying the auth state right now to use a computed
do I need to use .setSelfSigned
in node?
That doesn't exist on the web sdk. You need it for node if you have an appwrite instance with a self signed certificate
I think that fixed it by changing it to a computed
[SOLVED] Appwrite is using LocalStorage for session -- Vue
Recommended threads
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...