-
Notifications
You must be signed in to change notification settings - Fork 928
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ThomasK33
wants to merge
1
commit into
thomask33/06-30-feat_mcp_implement_mcp_http_server_with_toolsdk_integration
Choose a base branch
from
thomask33/07-01-feat_oauth2_replace_dev_flag_with_oauth2_experiment_for_controlled_rollout
base: thomask33/06-30-feat_mcp_implement_mcp_http_server_with_toolsdk_integration
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+18
−7
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 referenced Jul 1, 2025
3e540ef
to
0447dc7
Compare
95ae97b
to
0ea8930
Compare
matifali
approved these changes
Jul 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
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
3b81925
to
7c1857a
Compare
5496826
to
3df9b80
Compare
7c1857a
to
2406fe7
Compare
3df9b80
to
e32fba8
Compare
2406fe7
to
10bed55
Compare
e32fba8
to
d74cf24
Compare
91acaec
to
46dec9a
Compare
d74cf24
to
152aa40
Compare
46dec9a
to
eb2ed15
Compare
e69fe1c
to
8672a4b
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
…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>
b20b977
to
15df5c5
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.