Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
21073c3
adding workflow test on pull-request
mark-robustelli Jul 24, 2026
1971028
updating with only main branch for test
mark-robustelli Jul 24, 2026
00b7de5
Trying out --yes on kickstart:kill
andrewpai Sep 1, 2026
2e9396e
camel-> kebab case, tests
andrewpai Sep 8, 2026
8a0e126
package-lock version update
andrewpai Sep 8, 2026
f287f51
Address PR review feedback
andrewpai Sep 9, 2026
af54dea
Add test coverage for confirmOrExit and kickstart:kill
andrewpai Sep 9, 2026
8cb3182
Add test coverage for import:generate deprecated-flag detection
andrewpai Sep 9, 2026
47a8682
checkpointing application create - incomplete
andrewpai Sep 1, 2026
f85e220
checkpoint
andrewpai Sep 15, 2026
93de60b
Added next steps.
andrewpai Sep 29, 2026
297c9cd
code review updates
andrewpai Sep 30, 2026
26d73e0
Potential fix for pull request finding 'Use “does not exist” for gram…
andrewpai Sep 30, 2026
178028e
Potential fix for pull request finding 'Update wrapper reference to e…
andrewpai Sep 30, 2026
92cc0f2
Address PR review feedback
andrewpai Sep 30, 2026
b6f1ee4
fix: remove duplicate pull_request trigger key in test.yaml
andrewpai Sep 30, 2026
4afac70
fix: address additional PR review feedback
andrewpai Sep 30, 2026
98547b2
fix: preserve structured FusionAuth errors through rawError
andrewpai Sep 30, 2026
dd60217
fix: tolerate empty response bodies in integration test helper
andrewpai Oct 1, 2026
c2871f9
docs: remove dangling CONTRIBUTING.md references
andrewpai Oct 1, 2026
32b279b
test: reduce duplication in application-create.test.js
andrewpai Oct 1, 2026
a97c763
test: reduce duplication in application-create.integration.test.js
andrewpai Oct 1, 2026
bda16d6
fix: prevent leaked FusionAuth integration test containers
andrewpai Oct 1, 2026
fd5d788
build: use glob patterns instead of per-file lists in test scripts
andrewpai Oct 1, 2026
bc15a10
fix: add --authorized-origin-url to the system CORS allowlist
andrewpai Oct 1, 2026
7bb5071
fix: address Copilot's latest review findings
andrewpai Oct 1, 2026
18258da
fix: handle --redirect-uri/--logout-url/--authorized-origin-url in --…
andrewpai Oct 1, 2026
567a521
style: pass --env-file .env.test to all docker compose teardown calls
andrewpai Oct 1, 2026
8bf1a6b
fix: profile validation accepted inherited Object properties
andrewpai Oct 1, 2026
28acb39
fix: restrict automatic CORS configuration to --profile spa only
andrewpai Oct 1, 2026
52ae42e
fix: resolve kickstart resources dir correctly when run from source
andrewpai Oct 1, 2026
bd81c93
fix: restore build-first npm start script
andrewpai Oct 1, 2026
a648f1c
fix: validate --data JSON is a non-null, non-array object
andrewpai Oct 1, 2026
2e4ae58
docs: clarify --authorized-origin-url CORS scope in --help text
andrewpai Oct 2, 2026
ef9c0fa
fix: add Content-Type to required CORS headers, dedupe error output
andrewpai Oct 2, 2026
1bd1254
test: exercise all resolveResourcesDir() branches, including dist/
andrewpai Oct 2, 2026
da3659d
fix: resolve container ID via Compose, fix path encoding for spaces
andrewpai Oct 2, 2026
d19dfc9
fix: dedupe authorized origins, clean up test temp directories
andrewpai Oct 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# FusionAuth CLI - Agent Guidelines
# FusionAuth CLI
FusionAuth CLI is a command-line tool for working with the FusionAuth CIAM platform.

# Guidelines
Comment thread
andrewpai marked this conversation as resolved.

## Build Commands
- Build: `npm run build` (compiles TypeScript to `./dist/`)
- No lint command configured
- No test framework - tests not implemented
- Tests use Node's built-in test runner (`node:test`); run `npm run test:unit` for fast unit tests or `npm test` for the full suite, including Docker-based integration tests under `__tests__/integration/`.

## Code Style Guidelines

Expand Down Expand Up @@ -37,4 +40,4 @@
- Command definitions use Commander.js with fluent API
- JSDoc comments for function documentation
- Async/await for asynchronous operations
- Template literals for string interpolation
- Template literals for string interpolation
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ fusionauth --help;
Currently, the CLI supports the following commands:
- Common config check
- `fusionauth check:common-config` - Checks to make sure common configuration settings are set.
- Applications
- `fusionauth application:create --name <name> --profile <spa|native|webapp> --redirect-uri <uri...> [--authorized-origin-url <url...>]` - Create an application in one of a few pre-defined, standard security profiles (spa, native, or webapp), automatically configuring the associated OAuth/JWT settings (and CORS headers, for spa — native apps don't go through a browser's CORS enforcement, so this is skipped for native). `--authorized-origin-url` is required if the app will make cross-origin requests from the browser, since enabling CORS alone doesn't allow any origin through — the origin still needs to be added to the system's CORS allowlist.
- `fusionauth application:create [--name <name>] --data <json|@file.json>` - Create an application from a full custom JSON configuration, for cases the standard profiles don't cover. The JSON's own `name` field is used unless `--name` is explicitly passed, in which case it overrides the JSON.
- Emails
- `fusionauth email:download` - Download a specific template or all email templates from a FusionAuth server.
- `fusionauth email:duplicate` - Duplicate an email template locally.
Expand Down
Loading
Loading