Skip to content

Address qs gaps - #1718

Open
ramya18101 wants to merge 4 commits into
mainfrom
DXCDT-2509-address-qs-gaps
Open

ramya18101 wants to merge 4 commits into
mainfrom
DXCDT-2509-address-qs-gaps

Conversation

@ramya18101

Copy link
Copy Markdown
Contributor

🔧 Changes

Closes gaps in auth0 quickstarts setup (qs setup) so agents can use it safely in existing projects.

  • Config file safety: qs setup no longer silently overwrites an existing config file.
    • .env files are merged: owned keys are updated or appended, and all other lines and comments are kept.
    • Other formats are backed up to <file>.auth0-backup before replacement.
    • With --no-input or in agent mode, .env is merged and any other existing file needs the new --force flag.
  • JSON result: with --json, --json-compact or agent mode, qs setup prints one JSON object on stdout. It holds the app, API, client grant, config file action and path, keys_written (names only) and next_steps. Human text stays off stdout.
  • Client-grant scopes: the grant now uses the API's --scopes instead of an empty list. The new --grant-scopes flag grants a subset, and each value must also be in --scopes.
  • Multiple URLs: --callback-url, --logout-url and --web-origin-url accept comma-separated or repeated values, which replace the default list.
  • Webpack SPAs: added spa:react:webpack and spa:vanilla-javascript:webpack, plus detection from webpack.config.*. The --build-tool help text is now generated from the registered configs, so it no longer lists cra.
  • New frameworks: added TanStack Start (regular:tanstack-start:none) and Java servlet MVC (regular:java-mvc:maven and :gradle) with detection. Servlet-only Java projects now resolve to java-mvc instead of java-ee.

🔬 Testing

Unit tests were added or extended in internal/cli/quickstarts_test.go, internal/cli/quickstart_detect_test.go and internal/auth0/quickstarts_test.go.

📝 Checklist

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

@ramya18101
ramya18101 marked this pull request as ready for review October 19, 2026 13:18
@ramya18101
ramya18101 requested a review from a team as a code owner October 19, 2026 13:18
@ramya18101 ramya18101 changed the title Dxcdt 2509 address qs gaps Address qs gaps Oct 19, 2026
@ramya18101
ramya18101 force-pushed the DXCDT-2509-address-qs-gaps branch from c55c1b4 to b402c58 Compare October 19, 2026 14:40

This branch has not been deployed

No deployments
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