-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
📚 Documentation: missing setSelfSigned on js client #60
Comments
Same issue for me. I'm basically trying to initialize appwrite in localhost like so:
just like the documentation says: I'm running a next.js build and installed the latest appwrite with docker. But I'm keep getting the error: |
@AttiZK As far as i can tell, the source code does not exist in the SDK to set this flag. I found a workaround tho. You can navigate in you browser to “https://localhost” and accept the certificate error and then you you will be able to make client calls. It will only work in the browser you accepted the certificate since this action is scoped to the browser, |
Well, that's something I can work with for now, thanks! |
The response above is correct. |
💭 Description
Thanks for Taking your time.
Im currently struggling to get the Appwrite web SDK to connect to my locally hosted Appwirte instance.
I spun up AppWrite inside Docker, and setup a new project "testing". When i try to sign in a user via the SKD, i get "404 | ERR_CERT_AUTHORITY_INVALID"
When i try to set "setSelfSigned()" on the client i get the error "client.setEndpoint(...).setProject(...).setSelfSigned is not a function".
Here is my AppwriteService.js file:
I cant find any documentation on how to get this working. With the node-appwrite package it works like expected, but in the web SDK i cant get it working.
Im using SvelteKit 1.21.0
AppWrite Web SDK version 11.0.0
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: