Skip to content

[Feat]: Ability to set proxied ports to public #6008

Open

Description

@auburnsummer

What is your suggestion?

Set proxied port visibility to either public or private. When a port is set to public, cookie-based authentication is disabled, even if the auth is set to password.

In GitHub Codespaces, the feature looks like this:

image

Why do you want this feature?

Useful for developing with 3rd party integrations that call your API (e.g. webhooks, Slack or Discord bots)

Are there any workarounds to get this functionality today?

What I currently do is I turn off authentication in code-server, then I do authentication at the reverse proxy level instead, which lets me turn off authentication based on paths. So all paths that match the specified proxy are not authenticated.

This works but is not amazing because either all ports are public or all ports are private; I can't mix the two.

Are you interested in submitting a PR for this?

Not really, the workaround is acceptable for my current use-case

Activity

  1. changed the title [-][Feat]: Ability to turn off authentication for proxied ports [/-] [+][Feat]: Ability to set proxied ports to public[/+] on Feb 8, 2023
  2. Mubelotix commented on Jan 27, 2025

    @Mubelotix

    Would be very useful. I actually would even prefer public ports by default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSome improvement that isn't a feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions