
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
- How can I use appwrite function for stre...
I am building a course website where I want users can view the videos stored in appwrite storage in diff quality and also will do some processing before streami...
- User Authentication through REST API
Hey everyone, I’m looking for some guidance on the best way to authenticate frontend requests to my API gateway using Appwrite sessions. Right now, I'm trying ...
- Appwrite DNS Record Invalid on 123reg
So I go to the project settings and add in my domain name. Then when I add the CNAME record to 123reg it says that ''Record data is invalid'' As seen in the s...
