Skip to content

OAuth Support without --link #2636

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
kaaax0815 opened this issue Jan 25, 2021 · 5 comments
Closed

OAuth Support without --link #2636

kaaax0815 opened this issue Jan 25, 2021 · 5 comments
Labels
docs Documentation related

Comments

@kaaax0815
Copy link

Please provide a way to login with e.g. Github like in your Cloud Program, but without using the Cloud Program. A list of ways to do it ourself is I think good too

@kaaax0815 kaaax0815 added the feature New user visible feature label Jan 25, 2021
@oxy oxy added the docs Documentation related label Jan 25, 2021
@code-asher
Copy link
Member

We don't have any plans on adding additional authentication methods so we recommend using an external oauth proxy.

We mention that briefly here: https://github.com/cdr/code-server/blob/v3.8.0/doc/FAQ.md#how-should-i-expose-code-server-to-the-internet

But I think we might be able to reword this section to make it more discoverable, maybe something like "authentication methods"?

@code-asher code-asher removed the feature New user visible feature label Jan 25, 2021
@kaaax0815
Copy link
Author

kaaax0815 commented Jan 25, 2021

So I would Listen white Caddy on Port 80,443 then Pass that SSL Encrypted to the OAuth Proxy, there I login and then it gets passed to the code-server on port 8080. Because when I use Caddy instead of Nginx (what is mentioned in the docs of the proxy) I wouldnt have to hassle with SSL Certificates. Unfortunately I need a credit card for Cloudflare Access to work, would be cool, because I use it anyway

@kaaax0815
Copy link
Author

I got Oauth2_Proxy to work, which works just fine, so maybe adding a bit to the docs, but not more because you are completely right

@jsjoeio jsjoeio added this to the Backlog milestone Apr 29, 2021
@sestegra
Copy link

See https://www.pomerium.io/guides/vs-code-server.html

@stale
Copy link

stale bot commented Nov 16, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days.

@stale stale bot added the stale label Nov 16, 2021
@stale stale bot closed this as completed Nov 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants