Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Opening the link generated by the port forward button requires authentication #4358

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

Closed
ongood opened this issue Oct 4, 2022 · 2 comments · Fixed by #4378
Closed

Opening the link generated by the port forward button requires authentication #4358

ongood opened this issue Oct 4, 2022 · 2 comments · Fixed by #4378

Comments

@ongood
Copy link

ongood commented Oct 4, 2022

Suppose I use the code server integrated with coder oss to develop a web app. This web app has its own running port, such as 3000. When I generate a link through the port forward button and forward this link to another person to test this web app,
At this time, there was a problem. When he opened the link in his browser, the first thing that popped up was to ask him to log in to my coder account, which was very embarrassing!!
So this link becomes that only me can test it, and it can't be tested if it is sent to someone, unless I tell him my coder account and password. Is there an option to forward the shared test link without authentication?

@bpmct
Copy link
Member

bpmct commented Oct 6, 2022

Hey, thanks for the feedback.

We're adding sharing controls to coder_app so you could make certain ports public: #4378.

@deansheather
Copy link
Member

#4378 will be merged shortly and is now an open source feature (it was previously going to be a paid enterprise-only feature).

Once merged, you can create a coder_app resource in your terraform file with the given port and set share = "public" or any of the other levels which you can find in the PR description. We currently don't have plans to allow sharing ports directly and we're leveraging apps in terraform for now.

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 a pull request may close this issue.

3 participants