feat: add OAuth2 provider functionality as an experiment#18692
Merged
ThomasK33 merged 1 commit intoJul 3, 2025
Conversation
This was referenced Jul 1, 2025
Member
Author
3e540ef to
0447dc7
Compare
95ae97b to
0ea8930
Compare
0447dc7 to
674964b
Compare
0ea8930 to
86c43d9
Compare
674964b to
de6e6b1
Compare
86c43d9 to
35540ea
Compare
de6e6b1 to
df6f22c
Compare
35540ea to
e1f119c
Compare
df6f22c to
60161d7
Compare
6d2afc9 to
5865fb5
Compare
16a48ef to
06236c5
Compare
eb2ed15 to
13103fd
Compare
8672a4b to
e55d907
Compare
13103fd to
76e5caf
Compare
e55d907 to
6684a17
Compare
76e5caf to
9d10302
Compare
6684a17 to
02bb2fa
Compare
9d10302 to
ffbe385
Compare
02bb2fa to
6dc9330
Compare
ffbe385 to
b4ecd2d
Compare
6dc9330 to
b8839e2
Compare
b4ecd2d to
377a7e8
Compare
This was referenced Jul 3, 2025
b8839e2 to
7cc9428
Compare
377a7e8 to
b20b977
Compare
7cc9428 to
3c7a569
Compare
b20b977 to
15df5c5
Compare
74b951f to
2e61d59
Compare
15df5c5 to
5a4fab9
Compare
2e61d59 to
494dccc
Compare
5a4fab9 to
cd0cf55
Compare
…rollout - Add ExperimentOAuth2 constant to enable OAuth2 via experiment flag - Replace dev-only middleware with experiment-based gating - Maintain backward compatibility with dev mode - Allow OAuth2 enablement in production environments via --experimental=oauth2 Change-Id: I51e021a21ad385c133783d715e872fb4069f9e66 Signed-off-by: Thomas Kosiewski <tk@coder.com>
cd0cf55 to
9045b65
Compare
Member
Author
Merge activity
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Add OAuth2 Provider Functionality as an Experiment
This PR adds a new experiment flag
oauth2that enables OAuth2 provider functionality in Coder. When enabled, this experiment allows Coder to act as an OAuth2 provider.The changes include:
ExperimentOAuth2constant with appropriate documentationPreviously, OAuth2 provider functionality was only available in development mode. With this change, it can be enabled in production environments by activating the experiment.