Skip to content

🐛 Bug Report: appwrite cli logout automatically #110

@StarZeus

Description

@StarZeus

👟 Reproduction steps

  1. Login to appwrite instance from appwrite-cli with appwrite login command and console user id and password
  2. Retrieve project details with `appwrite projects get --projectId
  3. Able to retrieve project details
  4. Retrieve project details with `appwrite projects get --projectId
  5. Getting error message saying "Error User (role: guests) missing scope (projects.read)"

Regardless of what command we execute 2nd time onwards the command fails as the user is not logged in anymore

👍 Expected behavior

appwrite cli should stay logged in until logout

👎 Actual Behavior

appwrite cli logout automatically after each command

🎲 Appwrite version

Version 1.4.x

💻 Operating system

Linux

🧱 Your Environment

Appwrite version 1.4.7 installed on kubernetes v1.20
appwrite-cli@4.1.0 installed on mac os Monterey

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions