- Notifications
You must be signed in to change notification settings - Fork1k
Commit1555154
authored
feat: add OAuth2 provider functionality as an experiment (#18692)
# Add OAuth2 Provider Functionality as an ExperimentThis 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:- Added the new `ExperimentOAuth2` constant with appropriate documentation- Updated the OAuth2 provider middleware to check for the experiment flag- Modified the error message to indicate that the OAuth2 provider requires enabling the experiment- Added the new experiment to the known experiments list in the SDKPreviously, OAuth2 provider functionality was only available in development mode. With this change, it can be enabled in production environments by activating the experiment.1 parent2c95a1d commit1555154
File tree
6 files changed
+18
-7
lines changed- coderd
- apidoc
- codersdk
- docs/reference/api
- site/src/api
6 files changed
+18
-7
lines changedSome generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
| 40 | + | |
41 | 41 |
| |
42 |
| - | |
| 42 | + | |
43 | 43 |
| |
44 |
| - | |
| 44 | + | |
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3341 | 3341 |
| |
3342 | 3342 |
| |
3343 | 3343 |
| |
| 3344 | + | |
3344 | 3345 |
| |
3345 | 3346 |
| |
3346 | 3347 |
| |
| |||
3350 | 3351 |
| |
3351 | 3352 |
| |
3352 | 3353 |
| |
| 3354 | + | |
3353 | 3355 |
| |
3354 | 3356 |
| |
3355 | 3357 |
| |
|
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
0 commit comments
Comments
(0)