- Notifications
You must be signed in to change notification settings - Fork1k
feat: add OAuth2 provider functionality as an experiment#18692
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
ThomasK33 merged 1 commit intomainfromthomask33/07-01-feat_oauth2_replace_dev_flag_with_oauth2_experiment_for_controlled_rolloutJul 3, 2025
Merged
feat: add OAuth2 provider functionality as an experiment#18692
ThomasK33 merged 1 commit intomainfromthomask33/07-01-feat_oauth2_replace_dev_flag_with_oauth2_experiment_for_controlled_rolloutJul 3, 2025
Uh oh!
There was an error while loading.Please reload this page.
Conversation
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
This was referencedJul 1, 2025
MemberAuthor
ThomasK33 commentedJul 1, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
3e540ef
to0447dc7
Compare95ae97b
to0ea8930
Comparematifali approved these changesJul 1, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM
0447dc7
to674964b
Compare0ea8930
to86c43d9
Compare674964b
tode6e6b1
Compare86c43d9
to35540ea
Comparede6e6b1
todf6f22c
Compare35540ea
toe1f119c
Comparedf6f22c
to60161d7
Compare6d2afc9
to5865fb5
Compare16a48ef
to06236c5
Compareeb2ed15
to13103fd
Compare8672a4b
toe55d907
Compare13103fd
to76e5caf
Comparee55d907
to6684a17
Compare76e5caf
to9d10302
Compare6684a17
to02bb2fa
Compare9d10302
toffbe385
Compare02bb2fa
to6dc9330
Compareffbe385
tob4ecd2d
Compare6dc9330
tob8839e2
Compareb4ecd2d
to377a7e8
Compare This was referencedJul 3, 2025
b8839e2
to7cc9428
Compare377a7e8
tob20b977
Compare7cc9428
to3c7a569
Compareb20b977
to15df5c5
Compare74b951f
to2e61d59
Compare15df5c5
to5a4fab9
Compare5a4fab9
tocd0cf55
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=oauth2Change-Id: I51e021a21ad385c133783d715e872fb4069f9e66Signed-off-by: Thomas Kosiewski <tk@coder.com>
cd0cf55
to9045b65
Compare1555154
intomain 33 of 35 checks passed
Uh oh!
There was an error while loading.Please reload this page.
Merge activity
|
Sign up for freeto 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
oauth2
that enables OAuth2 provider functionality in Coder. When enabled, this experiment allows Coder to act as an OAuth2 provider.The changes include:
ExperimentOAuth2
constant 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.