Skip to content

[codex] Add Actions Datastore OAuth scopes#517

Draft
sdkennedy2 wants to merge 1 commit into
DataDog:mainfrom
sdkennedy2:codex/apps-datastore-oauth-scopes
Draft

[codex] Add Actions Datastore OAuth scopes#517
sdkennedy2 wants to merge 1 commit into
DataDog:mainfrom
sdkennedy2:codex/apps-datastore-oauth-scopes

Conversation

@sdkennedy2
Copy link
Copy Markdown

Summary

  • Allow pup auth login --scopes to accept Actions Datastore OAuth scopes.
  • Keep the scopes out of the default login scope set until the Datadog OAuth server exposes them.

Why

pup previously filtered apps_datastore_read as an unknown scope before the OAuth request. That prevented testing Actions Datastore API OAuth access from the CLI.

Validation

  • cargo test --bin pup auth::types::tests
  • cargo fmt --check
  • cargo clippy --bin pup -- -D warnings
  • target/debug/pup auth login --scopes apps_datastore_read --callback-port 9000 now requests apps_datastore_read; the live OAuth server still returns invalid_scope, confirming the remaining blocker is server-side scope registration.

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