Skip to content

feat(auth): add official API token setup flow#10

Merged
0xble merged 1 commit intomainfrom
feat/auth-api-wizard
Feb 27, 2026
Merged

feat(auth): add official API token setup flow#10
0xble merged 1 commit intomainfrom
feat/auth-api-wizard

Conversation

@0xble
Copy link
Copy Markdown
Owner

@0xble 0xble commented Feb 27, 2026

Summary

  • add auth api command group: setup, status, verify, unset
  • add optional post-login API setup (--setup-api, --skip-api-setup-prompt)
  • add Bubble Tea setup wizard for API token entry
  • clarify internal-vs-public integration guidance and link wizard/docs-open to internal integrations URL
  • add REST token verification (GET /v1/users/me) to the official API client
  • add config save/load helpers that preserve unknown fields and support token unsetting

Validation

  • go test ./...
  • targeted command/auth/config/api tests for setup, verify, unset, and wizard copy/behavior

Notes

  • this change is isolated to official Notion REST API auth/token setup and does not modify private API auth behavior

Add an auth api command group with setup/status/verify/unset and wire optional post-login API setup prompts.

Introduce a Bubble Tea wizard for token capture, clarify internal vs public integrations, and point docs/open flow to the internal integrations URL.

Add config load/save helpers to persist API settings safely while preserving unknown fields and support token unset semantics.

Add API client token verification via /v1/users/me with tests, plus auth and config tests for setup/unset/verification behavior.
@0xble 0xble merged commit ccd451b into main Feb 27, 2026
@0xble 0xble deleted the feat/auth-api-wizard branch February 27, 2026 22:50
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.

1 participant