Code-server: SSO Integration

Created on 14 Aug 2019  路  8Comments  路  Source: cdr/code-server

Is it possible to integrate code-server to an SSO provider rather than using the passwords generated by default?

docs

Most helpful comment

I'll be porting over the Pomerium example for SSO since I think it'll be a great help for everyone.

All 8 comments

At the moment, code-server only supports password authentication. If you want to use another authentication provider, you'll need to use a proxying service like CloudFlare Access, BeyondCorp, etc.

thanks @deansheather

Another feature would be a local authentication provider with usernames and passwords for multiple users, once we sort out collaboration stuff.

FYI, for those looking for an open-source solution check out pomerium. We've got a guide for vs code server too.

@desimone that's an awesome integration! If there's any other SSO proxy like this would be awesome to be documented as well. For everyone, please let me know other ways of doing it from other people so we can compile it as a documentation, thanks!

I'll be porting over the Pomerium example for SSO since I think it'll be a great help for everyone.

Definitely use a reverse proxy for this.

Note, there is issue with Pomerium

It does not terminate websockets when user logs out (I found that out on weekend so it might get fixed later). And code server is all websockets. So when user logs out, the VSCode is still open and user can do whatever.

(I don't mean to 馃挬 on pomerium, it's cool, just that people know this issue. hopefully it will get fixed)

See

https://github.com/pomerium/pomerium/issues/1279

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Arsaev picture Arsaev  路  3Comments

KSXGitHub picture KSXGitHub  路  3Comments

tecosaur picture tecosaur  路  3Comments

sa7mon picture sa7mon  路  3Comments

oonqt picture oonqt  路  3Comments