coder / coder/code-server

Improve authentication flow with auth token

Open
#3,546 2 comments 0 reactions 0 assignees View on GitHub
enhancement security
Dominant language
TypeScript
Stars
79.3k
Forks
6.8k
Avg merge
2d 6h
Merged PRs (30d)
41

Description

Add token exchange. Create token on server and use as a cookie on the client.

We should use this as a default and issue a deprecation warning to anyone using the old methods.

See: https://github.com/cdr/code-server/pull/3422#issuecomment-853297900

**Edit**: VS Code web already has token auth that we disable, could we make use of this? Then it should be pretty easy.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.