Skip to content

myna cloud login: OAuth 2.1 PKCE CLI flow instead of password prompt #138

Closed

Description

@ralyodio

myna cloud login prompts for email + password. That fails in non-interactive shells (Claude Code's ! stops at Password:). A password reset or token revoke on 2026-10-04 also silently logged out dev2's daemon, so newsletter sends stopped on a 401 reading unsubscribes (profullstack-003 missed its 2026-10-08 slot). The vault's MYNA_CLOUD_PASSWORD (myna--prod) is stale too.

Requested by Anthony: myna login should use an OAuth 2.1 CLI flow, like w3bs login (PKCE, browser + loopback redirect, device code for headless boxes).

  • OAuth 2.1 authorization server on mynaposter.com (PKCE, short-lived access + refresh tokens)
  • myna cloud login uses it by default
  • Refresh automatically so the daemon doesn't silently lose its session
  • A dead cloud session should be loud (daemon + daily digest), not only in a send log

🤖 Generated with Claude Code

Activity

  1. added a commit that references this issue on Oct 30, 2026
    0c58cda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions