Hello,
Appwrite is using localStorage for session management. Increase your security by adding a custom domain as your API endpoint.
why does the above message shows up while my project has a custom domain and I'm using it to navigate to the project? What seems to be a problem?
Are you accessing Appwrite using that custom domain?
I mean in the endpoint, Not the frontend one
For more info, see https://appwrite.io/docs/custom-domains
I realized I was using chrome while debugging, and since my appwrite does not respond to a web platform with the hostname http://localhost:57909/#/, so perhaps that's the cause?
Actually I checked chrome's console and the same message gets printed out whenever creating a session
I have already made a custom API endpoint for the project and a custom domain (CNAME) that navigates to it, everything seems to be fine but no idea why the warning shows up
and I'm using the CNAME in the frontend
is your appwrite hostname a subdomain of your app?
I was able to solve it following that. Thank you!
[SOLVED] Appwrite is using localStorage for session management.
Recommended threads
- The current user is not authorized to pe...
I want to create a document associated with user after log in with OAuth. The user were logged in, but Appwrite said user is unauthorized. User is logged in wi...
- 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...