- Notifications
You must be signed in to change notification settings - Fork1.1k
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 to0447dc7Compare95ae97b to0ea8930Comparematifali approved these changesJul 1, 2025
Member
matifali left a comment
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 to674964bCompare0ea8930 to86c43d9Compare674964b tode6e6b1Compare86c43d9 to35540eaComparede6e6b1 todf6f22cCompare35540ea toe1f119cComparedf6f22c to60161d7Compare6d2afc9 to5865fb5Compare16a48ef to06236c5Compareeb2ed15 to13103fdCompare8672a4b toe55d907Compare13103fd to76e5cafComparee55d907 to6684a17Compare76e5caf to9d10302Compare6684a17 to02bb2faCompare9d10302 toffbe385Compare02bb2fa to6dc9330Compareffbe385 tob4ecd2dCompare6dc9330 tob8839e2Compareb4ecd2d to377a7e8Compare This was referencedJul 3, 2025
b8839e2 to7cc9428Compare377a7e8 tob20b977Compare7cc9428 to3c7a569Compareb20b977 to15df5c5Compare74b951f to2e61d59Compare15df5c5 to5a4fab9Compare5a4fab9 tocd0cf55Compare…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 to9045b65Compare1555154 intomain 33 of 35 checks passed
Uh oh!
There was an error while loading.Please reload this page.
MemberAuthor
ThomasK33 commentedJul 3, 2025
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
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.