Skip to content

Keep the assistant.read scope for existing OAuth2 clients #14203

Closed

Description

@ChiragAgg5k

Tracks PR #14200 and appwrite-labs/cloud#6364.

Plan

Goal: Let OAuth2 clients registered while the Assistant existed (such as the ChatGPT app) authorize on Cloud again. Right now they fail with invalid_scope - Scope 'project:assistant.read' is not supported. because #14167 removed the assistant.read scope.

What changes

  • appwrite/appwrite#14200: restores assistant.read in app/config/scopes/project.php as deprecated => true, with a comment explaining why. It stays a known scope but is left out of defaults and grants nothing. The POST /v1/console/assistant endpoint stays removed, and V25 still strips the scope from stored keys, functions and sites.
  • appwrite-labs/cloud#6364: re-adds assistant.read to $projectScopeAllowlist in app/config/scopes/oauth2.php. That allowlist skips entries with no server-ce metadata, so it only takes effect once server-ce includes fix: keep the assistant.read scope for existing OAuth2 clients #14200.

Remaining steps

  1. Merge fix: keep the assistant.read scope for existing OAuth2 clients #14200.
  2. Add a composer update appwrite/server-ce commit to cloud#6364 so it picks up the restored scope, then merge it.
  3. Deploy Cloud and reconnect the ChatGPT Appwrite app to confirm authorization succeeds.

Done when

Activity

  1. self-assigned this
    on Oct 7, 2026
  2. added
    product / auth
    product / console
    product / functions
    product / sites
    sdk / cli
    on Oct 7, 2026
  3. ChiragAgg5k commented on Oct 7, 2026

    @ChiragAgg5k
    MemberAuthor

    Released in cloud 1.50.143 (contains appwrite-labs/cloud#6364).

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

Metadata

Metadata

Assignees

Labels

product / authproduct / consoleproduct / functionsproduct / sitessdk / cli

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions