Hello following another post I'm creating dedicated post according to my project ID: 67ffbd800010958ae104 I deployed for debug my React Native app in web, chrome everythink works well but in safari on mac and ios I cant login. I found this one error in safari console: { "message": "User (role: guests) missing scope (account)", "code": 401, "type": "general_unauthorized_scope", "version": "1.6.2" }
So i followed doc to create custom domain: https://appwrite.io/docs/advanced/platform/custom-domains
I created not proxied CNAME pointing to fra.cloud.appwrite.io then I created custom domain in appwrite: appwrite.slajob.dev. custom domain is verified and certificate generated. In my app i changed API URL from https://cloud.appwrite.io/v1 to https://appwrite.slajob.dev/v1
But now it's not working on every browser. When i enter https://appwrite.slajob.dev/ via browser i see: net::ERR_CERT_COMMON_NAME_INVALID Subject: t.sni-820-default.ssl.fastly.net
Issuer: Certainly Intermediate R1
Expires on: May 18, 2025
Current date: Apr 28, 2025 and begin certificate[...]
In my app in chrome console i see: POST https://appwrite.slajob.dev/v1/account/sessions/email net::ERR_CERT_COMMON_NAME_INVALID Sign in error: AppwriteException: Failed to fetch at Object.<anonymous> (https://clarity.slajob.dev/_expo/static/js/web/entry-dd20b5ec8e4897aab10190d07743e502.js:790:7776) at Generator.throw (<anonymous>) at s (https://clarity.slajob.dev/_expo/static/js/web/entry-dd20b5ec8e4897aab10190d07743e502.js:790:1181)
And in safari: [Error] Preflight response is not successful. Status code: 421 [Error] Fetch API cannot load https://appwrite.slajob.dev/v1/account/sessions/email due to access control checks. [Error] Failed to load resource: Preflight response is not successful. Status code: 421 (email, line 0) [Error] Sign in error: – AppwriteException: Load failed AppwriteException: Load failed (anonymous function) (entry-dd20b5ec8e4897aab10190d07743e502.js:1109:625)
Please help me fix that issue 🫣
Recommended threads
- Frequent 500 Internal Server Errors - Pr...
PROJECT ID: 6951f2xxxxx1ee9e750a REGION: Singapore (sgp.cloud.appwrite.io) PLAN: Pro Our production application experiences **500 Internal Server Errors** mult...
- Issue with Custom SMTP
Hey everyone, I'm facing an issue when updating my Custom SMTP settings on Appwrite Cloud. The UI fails silently (no visual errors), but when checking the cons...
- Problem with Google Workspace at DNS Rec...
Hello, I bought a domain at Namecheap, and Google Workspace used to work there, but now that I switched from Custom DNS to Appwrite's nameservers, it doesn't w...