I'm trying to use the CLI with a localhost instance on Appwrite running in docker desktop on MacOS and I'm not able to log in via the CLI.
When I run appwrite appwrite login --endpoint "http://app.localhost/v1" --verbose I get the login prompt but when I enter my admin details it throws an error:
at Client.call (/usr/local/Cellar/appwrite/6.2.0/libexec/lib/node_modules/appwrite-cli/lib/client.js:192:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async accountCreateEmailPasswordSession (/usr/local/Cellar/appwrite/6.2.0/libexec/lib/node_modules/appwrite-cli/lib/commands/account.js:1016:16)
at async loginCommand (/usr/local/Cellar/appwrite/6.2.0/libexec/lib/node_modules/appwrite-cli/lib/commands/generic.js:57:9) {
code: undefined,
response: undefined```
I've googled and hunted through discord but can only find vague non-helpful references to the --endpoint flag and issues being resolved on cloud based self-hosted instances (Digital Ocean, AWS etc.).
Has anyone else here experienced or resolved this issue?
could be a problem with not having HTTPS
Recommended threads
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...
- OAuth Missing redirect URL
Hello all, on a Flutter mobile app with latest Appwrite dependency (25.4.0) I always got "Missing redirect URL" - "Your OAuth login flow is missing a proper red...
- How can I disable client-side account re...
Hi everyone! I’m currently building a game backend using Appwrite, and I’d like to prevent users from creating new accounts directly through the client. My go...