Hello, I am using my sub domain as my project endpoint, however, I still get this error.
Appwrite is using localStorage for session management. Increase your security by adding a custom domain as your API endpoint.
Why am I still getting this error?
Summary
Title: [SOLVED] Security issues despite using subdomain
Messages:
- If you're getting the error on localhost, it's expected. Use a platform with a domain different from your app's domain.
- Make sure you've added your domain as a platform in the Appwrite console.
- Have you added a custom domain? Make sure to configure its CNAME records.
- Despite using a subdomain as the project endpoint, the error still persists.
- The error message suggests adding a custom domain for increased security.
Solution: Make sure to add a custom domain in the Appwrite console and configure its CNAME records correctly.
BugProg
Rank 2: Process
Jul 21, 2023, 11:42
Hi ! Did you add a custom domain ?
Samuel Kings
Rank 3: Container
Jul 21, 2023, 12:20
Yes I did. I've added 3 custom domains to my Appwrite console and I've configured their CNAME records but I get the same error with each of them
Samuel Kings
Rank 3: Container
Jul 21, 2023, 13:16
@Steven please any help?
Binyamin
Jul 21, 2023, 13:28
Have you added your domain as platform?
Binyamin
Jul 21, 2023, 13:28
Not custom domain but a Web platform?
Samuel Kings
Rank 3: Container
Jul 21, 2023, 13:47
I'm using localhost. And I've added it.
Binyamin
Jul 21, 2023, 13:50
So, in localhost usually this would happened.
When you try on a Platform with domain that shares the same domain as your app, then, this message will go away.
So for example if your Appwrite is in api.domain.com then using your app on app.domain.com for example will remove this error.