
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
- I am facing this error: type 'Null' is ...
When attempting to fetch areas from the area collection, the application throws an error: "type 'Null' is not a subtype of type 'int.'" This issue originates in...
- Adding Domain to Sites [Self Hosted]
I am struggling to get this working. I stood-up a new server and deployed appwrite 1.7.4. I added update .env file _APP_DOMAIN=appwrite.mydomain.com _APP_DOMAI...
- Adding custom domain to Appwrite project
My app is hosted on Vercel on domain todo.velleb.com. On PC, the OAuth logins like GitHub, Discord and Google work and create the account and log in. On mobile ...
