Skip to content

feat: add outbound auth wizard step with inline credential creation#417

Merged
notgitika merged 1 commit intoaws:feat/gateway-integrationfrom
aidandaly24:feat/batch-4-outbound-auth-wizard
Feb 26, 2026
Merged

feat: add outbound auth wizard step with inline credential creation#417
notgitika merged 1 commit intoaws:feat/gateway-integrationfrom
aidandaly24:feat/batch-4-outbound-auth-wizard

Conversation

@aidandaly24
Copy link
Contributor

@aidandaly24 aidandaly24 commented Feb 24, 2026

Description

When creating a gateway target through the TUI wizard, users previously had no way to configure outbound authentication. They'd have to manually edit mcp.json to add auth config after the
fact.

This PR adds an outbound auth step to the wizard flow. After selecting a gateway, users now see:

  1. Auth type selection — No authorization or OAuth 2LO
  2. Credential selection (OAuth only) — Create a new credential inline or pick an existing one from agentcore.json
  3. Inline credential creation — For OAuth: name, client ID, masked client secret, discovery URL. Uses SecretInput for sensitive fields.

If "No authorization" is selected, the wizard skips straight to confirm. If credential creation fails (e.g. duplicate name), the sub-flow resets so the user can try again.

The confirm screen now shows the auth type and credential name in the review.

Note: API Key was removed from the outbound auth options as MCP server targets only support OAuth and NoAuth per the service documentation.

New wizard flows:

  • create-new: name → source → language → gateway → outbound-auth → confirm
  • existing-endpoint: name → source → endpoint → gateway → outbound-auth → confirm

This is the TUI layer on top of the operations added in the previous PR (Task 12a), which added createCredential OAuth support and CLI flags.

Related Issue

Part of the MCP Gateway Phase 1 integration (gateway-integration branch). Task 12b.

Type of Change

  • New feature

Testing

How have you tested the change?

  • I ran npm run test:unit and npm run test:integ
  • I ran npm run typecheck
  • I ran npm run lint
  • If I modified src/assets/, I ran npm run test:update-snapshots and committed the updated snapshots

No new tests — this is TUI wiring over the operations layer tested in Task 12a. The credential creation, validation, and config writing are all covered by existing tests.

Checklist

  • I have read the CONTRIBUTING document
  • I have added any necessary tests that prove my fix is effective or my feature works
  • I have updated the documentation accordingly
  • I have added an appropriate example to the documentation to outline the feature, or no new docs are needed
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

@github-actions github-actions bot added the size/xl PR size: XL label Feb 24, 2026
@aidandaly24 aidandaly24 force-pushed the feat/batch-4-outbound-auth-wizard branch from 37b14c8 to 66a33cc Compare February 24, 2026 17:04
@github-actions github-actions bot added size/l PR size: L and removed size/xl PR size: XL labels Feb 24, 2026
@aidandaly24 aidandaly24 force-pushed the feat/batch-4-outbound-auth-wizard branch from 66a33cc to a8682f4 Compare February 24, 2026 22:55
@github-actions github-actions bot added size/m PR size: M and removed size/l PR size: L size/m PR size: M labels Feb 24, 2026
@aidandaly24 aidandaly24 force-pushed the feat/batch-4-outbound-auth-wizard branch from 6c91b7c to a8682f4 Compare February 24, 2026 22:57
@github-actions github-actions bot added size/m PR size: M and removed size/m PR size: M labels Feb 24, 2026
@aidandaly24 aidandaly24 force-pushed the feat/batch-4-outbound-auth-wizard branch from a8682f4 to 606661b Compare February 24, 2026 22:59
@github-actions github-actions bot added size/m PR size: M and removed size/m PR size: M labels Feb 24, 2026
@aidandaly24 aidandaly24 force-pushed the feat/batch-4-outbound-auth-wizard branch from 606661b to 630afdc Compare February 25, 2026 05:59
@github-actions github-actions bot added size/m PR size: M and removed size/m PR size: M labels Feb 25, 2026
@aidandaly24 aidandaly24 force-pushed the feat/batch-4-outbound-auth-wizard branch from 9108f0e to 975a54c Compare February 25, 2026 19:23
@github-actions github-actions bot added size/m PR size: M and removed size/m PR size: M labels Feb 25, 2026
@aidandaly24 aidandaly24 force-pushed the feat/batch-4-outbound-auth-wizard branch from b0f864e to 6c1f6da Compare February 26, 2026 16:16
@github-actions github-actions bot added size/m PR size: M and removed size/m PR size: M labels Feb 26, 2026
@aidandaly24 aidandaly24 changed the title feat: add outbound auth wizard step with OAuth and API Key credential creation feat: add outbound auth wizard step with inline credential creation Feb 26, 2026
@aidandaly24 aidandaly24 force-pushed the feat/batch-4-outbound-auth-wizard branch from b0f1e33 to 7efb623 Compare February 26, 2026 18:01
@github-actions github-actions bot added size/m PR size: M and removed size/m PR size: M labels Feb 26, 2026
@notgitika
Copy link
Contributor

LGTM

@notgitika notgitika merged commit 5d9d710 into aws:feat/gateway-integration Feb 26, 2026
13 of 15 checks passed
@notgitika notgitika self-requested a review February 26, 2026 19:04
@aidandaly24 aidandaly24 mentioned this pull request Feb 27, 2026
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/m PR size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants