
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
- File tokens regenerate each page reload
Hello, on appwrite 1.7.4, when I create a file token via the API Tokens(appwriteAdminClient)#createFileToken I get a secret, then when I check in the console t...
- Appwrite isn't accepting the api from se...
Error creating user: AppwriteException: Server Error type: 'general_unknown', response: '{"message":"Server Error","code":500,"type":"general_unknown","versi...
- CSV Import Shows Success but Data Not Ap...
I tried importing a CSV file into my PRODUCTS collection. The dashboard shows the message “Import to PRODUCTS completed successfully,” but no data appears in th...
