Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --bind-addr, fixes #2620 #2646

Merged
merged 1 commit into from
Apr 10, 2019
Merged

Add --bind-addr, fixes #2620 #2646

merged 1 commit into from
Apr 10, 2019

Conversation

klizhentas
Copy link
Contributor

This commit adds --bind-addr flag to tsh login
and TELEPORT_LOGIN_BIND_ADDR environment variable
to set up login bind address for SSO redirect flows.

Usage examples:

tsh login  --bind-addr=localhost:3333
tsh login --bind-addr=:3333
tsh login --bind-addr=[::1]:3333
TELEPORT_LOGIN_BIND_ADDR=localhost:7777 tsh login

@klizhentas klizhentas requested review from r0mant and russjones April 10, 2019 16:21
This commit adds `--bind-addr` flag to tsh login
and TELEPORT_LOGIN_BIND_ADDR environment variable
to set up login bind address for SSO redirect flows.

Usage examples:

```
tsh login  --bind-addr=localhost:3333
tsh login --bind-addr=:3333
tsh login --bind-addr=[::1]:3333
TELEPORT_LOGIN_BIND_ADDR=localhost:7777 tsh login
```
@klizhentas klizhentas merged commit 9aeb929 into branch/3.2 Apr 10, 2019
@klizhentas klizhentas deleted the sasha/bind branch April 10, 2019 18:25
@Nuru
Copy link

Nuru commented Apr 12, 2019

Not to be ungrateful, but this only fixes half of #2620.

When run inside a Docker container, it still does not produce a URL that is accessible from the host. It still uses a random port on the container's localhost. Maybe you could use a URL on the Teleport proxy web server instead?

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.

5 participants