Skip to content

Document browser-based device authorization for CLI login - #3130

Open
atharvadeosthale wants to merge 1 commit into
mainfrom
atharva/cli-device-authorization
Open

Document browser-based device authorization for CLI login#3130
atharvadeosthale wants to merge 1 commit into
mainfrom
atharva/cli-device-authorization

Conversation

@atharvadeosthale

Copy link
Copy Markdown
Member

Summary

The appwrite login command now uses browser-based device authorization. This PR updates the website for the new flow:

  • Docs (/docs/tooling/command-line/installation#login): rewrote the Login section to walk through the device authorization flow (terminal code + URL → confirm code → authorize → device connected), with light and dark screenshots of each step plus a terminal screenshot
  • Blog: new announcement post announcing-cli-device-authorization (authored by Chirag, dated 2026-07-29). Cover points to /images/blog/announcing-cli-device-authorization/cover.avif, which does not exist yet and needs design
  • Changelog: new entry for 2026-07-29 linking to the announcement

Notes

  • All screenshots converted to AVIF via bun run optimize; bun run format passes
  • The blog cover is intentionally a placeholder path until the cover image is designed

- Update CLI installation docs with the new appwrite login flow and screenshots
- Add announcement blog post (authored by Chirag, dated 2026-07-29)
- Add changelog entry for 2026-07-29
@appwrite

appwrite Bot commented Jul 28, 2026

Copy link
Copy Markdown

Appwrite Website

Project ID: 69d7efb00023389e8d27

Sites (1)
Site Status Logs Preview QR
 website
69d7f2670014e24571ca
Failed Failed View Logs Preview URL QR Code

Website (appwrite/website)

Project ID: 684969cb000a2f6c0a02

Sites (1)
Site Status Logs Preview QR
 website
68496a17000f03d62013
Building Building View Logs Preview URL QR Code


Tip

Schedule functions to run as often as every minute with cron expressions

title: "Announcing Device Authorization for the Appwrite CLI: Log in from your browser"
description: The Appwrite CLI now signs you in through your browser. Confirm a device code, review permissions, and authorize, without typing credentials into your terminal.
date: 2026-07-29
cover: /images/blog/announcing-cli-device-authorization/cover.avif

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need a cover sorted out

featured: false
callToAction: true
faqs:
- question: "What is Device Authorization in the Appwrite CLI?"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should include OAuth


Today, we are announcing **Device Authorization** for the Appwrite CLI. Running `appwrite login` now hands the sign-in process to your browser, so you can authenticate the CLI with the account session you already trust.

# How it works

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably add an info note at the end or a subsection that clarifies that existing API key based auth and flows won't break and that they are still recommended for CI workflows, etc.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should also be more explicitly covered in the docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants