mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 23:55:51 +03:00
[GH-ISSUE #567] Auth: add experimental Apple ID web-session mode for UI-only endpoints #159
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#159
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rudrankriyam on GitHub (Feb 16, 2026).
Original GitHub issue: https://github.com/rudrankriyam/App-Store-Connect-CLI/issues/567
Summary
Introduce an explicitly opt-in authentication mode that allows
ascto call App Store Connect web-only endpoints that are not accessible via API key/JWT.This is not intended to replace API-key auth. It is a narrowly scoped escape hatch for specific workflows that are otherwise blocked.
Why this matters
Some operational workflows are high value but not available via the public App Store Connect API.
To make those workflows AI/CI-drivable, the project needs a safe, explicit mechanism to provide web-session auth material.
Examples of workflows that may depend on this:
Current state (verified)
ascis API-key/JWT based.Security constraints
Web-session material is extremely sensitive (effectively “act as the account”).
Any implementation must:
Proposed UX
Opt-in flag
Add a global flag (name bikeshed):
--experimental-web-sessionSession input
Accept session material via environment variables only:
ASC_WEB_SESSION(opaque string)Optional supporting env vars (if required by the server behavior):
ASC_WEB_SESSION_CSRF(opaque)ASC_WEB_SESSION_PROVIDER(team/provider selection)Scope limitation
Web-session mode should only be used for commands that explicitly declare support for it.
All other commands should continue using API key auth exclusively.
Behavior requirements
--experimental-web-sessionis not set, commands must not attempt web-session calls.--experimental-web-sessionis set but required env vars are missing, return a usage-style error (exit code 2).--api-debugoutput.Implementation notes
Test plan
Acceptance criteria
make testpasses.@rudrankriyam commented on GitHub (Feb 26, 2026):
Closing as resolved by #758, which introduced the detached experimental Apple web-session auth flow () and web-session-backed unofficial commands.
@rudrankriyam commented on GitHub (Feb 26, 2026):
Clarification: resolved by #758, including the detached experimental Apple web-session auth flow via asc web auth and related web-session-backed unofficial commands.