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
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...
- trying to figure out how to activate my...
please help