Skip to content

Support a fixed local port for the OIDC login redirect - #92

Open
karcaw wants to merge 2 commits into
stensonb:mainfrom
EMSL-MSC:feature/fixed-local-port
Open

Support a fixed local port for the OIDC login redirect#92
karcaw wants to merge 2 commits into
stensonb:mainfrom
EMSL-MSC:feature/fixed-local-port

Conversation

@karcaw

@karcaw karcaw commented Sep 3, 2026

Copy link
Copy Markdown

Adds a local_server_port config key, settable via config.yaml or the
aws-cli-oidc setup wizard. When set, doLogin() binds that exact port
instead of a random free one, and fails with a clear error if it's
unavailable. Needed when an OIDC client registration only allows a specific
redirect_uri rather than any ephemeral port. Leaving it unset keeps the
existing random-port behavior.

Adds a local_server_port config key. When set, doLogin() binds that exact
port instead of a random free one, and fails with a clear error if it's
unavailable. Needed when an OIDC client registration only allows a specific
redirect_uri (e.g. http://127.0.0.1:PORT) rather than any ephemeral port.
Leaving it unset keeps the existing random-port behavior.
Adds an interactive setup wizard prompt for local_server_port, so it can be
configured through `aws-cli-oidc setup` instead of only by hand-editing
config.yaml.
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