Commit f8d5420
authored
Add OIDC PKCE configuration through policy (#7765)
* Fix leading whitespace in tmpl files
* Add PKCE Enabled flag
* Implement pkce in configs
* Add check for OIDC to guard for a nil pointer
* Fix some whitespace alignment in tmpl files
* Update snapshots to realign with whitespaces
* Add tests for PKCE enabled true
* Update CRDs based on policy files
* Add pkceEnabled to oidc pytest setup yaml
* Terminate include directive with a ;
* Set pkce enabled to an int instead of a string
* OIDC test doesn't need pkce enabled
* Add PKCE pytest
* Update snapshot after changing a str -> int
* oidc and pkce pytest fixture scope to function
* OIDC tests should be class fixtured
* Remove a parameter from pkce test
* pkce test fixture should also be class scoped
* Add debug prints
* Merge pkce test into oidc test file
* Add unit tests for the bool to int util function
* Add docs to create keycloak client via api
* Reword options because no tabs
* OIDC example deploy keycloak into nginx-ingress ns
* Add plus-mgmt-configmap.yaml to instructions
* Redo list numbers in oidc example readme
* Reset keycloak to be in default namespace
* Add note on not using client secret for PKCE
* Move applying the plus mgmt to common resources
* Add pkceEnabled to policy resource doc
* Rename pkceEnabled from past to present tense
* Fix product name in example readme
* Change console code type to shell
* Turn choice into unordered list
* Replace const default pkce secret with init val
* Change pkce and client secret validations
* Update snapshots
* Do not use default client secret
* Add more validation and tests
* Add note to OIDC policy docs about pkce-clientsecret
* Remove clientsecret from e2e test for pkce1 parent bcce9e6 commit f8d5420
File tree
23 files changed
+438
-104
lines changed- charts/tests/__snapshots__
- config/crd/bases
- deploy
- examples/custom-resources/oidc
- internal
- configs
- oidc
- version2
- __snapshots__
- k8s
- pkg/apis/configuration
- v1
- validation
- site/content
- configuration
- includes/installation
- tests
- data/oidc
- suite
23 files changed
+438
-104
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
445 | | - | |
446 | | - | |
447 | 445 | | |
448 | 446 | | |
449 | 447 | | |
| |||
911 | 909 | | |
912 | 910 | | |
913 | 911 | | |
914 | | - | |
915 | | - | |
916 | 912 | | |
917 | 913 | | |
918 | 914 | | |
| |||
1449 | 1445 | | |
1450 | 1446 | | |
1451 | 1447 | | |
1452 | | - | |
1453 | | - | |
1454 | 1448 | | |
1455 | 1449 | | |
1456 | 1450 | | |
| |||
1965 | 1959 | | |
1966 | 1960 | | |
1967 | 1961 | | |
1968 | | - | |
1969 | 1962 | | |
1970 | 1963 | | |
1971 | 1964 | | |
| |||
2547 | 2540 | | |
2548 | 2541 | | |
2549 | 2542 | | |
2550 | | - | |
2551 | 2543 | | |
2552 | 2544 | | |
2553 | 2545 | | |
| |||
2961 | 2953 | | |
2962 | 2954 | | |
2963 | 2955 | | |
2964 | | - | |
2965 | | - | |
2966 | 2956 | | |
2967 | 2957 | | |
2968 | 2958 | | |
| |||
3406 | 3396 | | |
3407 | 3397 | | |
3408 | 3398 | | |
3409 | | - | |
3410 | | - | |
3411 | 3399 | | |
3412 | 3400 | | |
3413 | 3401 | | |
| |||
3851 | 3839 | | |
3852 | 3840 | | |
3853 | 3841 | | |
3854 | | - | |
3855 | | - | |
3856 | 3842 | | |
3857 | 3843 | | |
3858 | 3844 | | |
| |||
4297 | 4283 | | |
4298 | 4284 | | |
4299 | 4285 | | |
4300 | | - | |
4301 | | - | |
4302 | 4286 | | |
4303 | 4287 | | |
4304 | 4288 | | |
| |||
4763 | 4747 | | |
4764 | 4748 | | |
4765 | 4749 | | |
4766 | | - | |
4767 | | - | |
4768 | 4750 | | |
4769 | 4751 | | |
4770 | 4752 | | |
| |||
5210 | 5192 | | |
5211 | 5193 | | |
5212 | 5194 | | |
5213 | | - | |
5214 | | - | |
5215 | 5195 | | |
5216 | 5196 | | |
5217 | 5197 | | |
| |||
5672 | 5652 | | |
5673 | 5653 | | |
5674 | 5654 | | |
5675 | | - | |
5676 | | - | |
5677 | 5655 | | |
5678 | 5656 | | |
5679 | 5657 | | |
| |||
6141 | 6119 | | |
6142 | 6120 | | |
6143 | 6121 | | |
6144 | | - | |
6145 | | - | |
6146 | 6122 | | |
6147 | 6123 | | |
6148 | 6124 | | |
| |||
6620 | 6596 | | |
6621 | 6597 | | |
6622 | 6598 | | |
6623 | | - | |
6624 | | - | |
6625 | 6599 | | |
6626 | 6600 | | |
6627 | 6601 | | |
| |||
7080 | 7054 | | |
7081 | 7055 | | |
7082 | 7056 | | |
7083 | | - | |
7084 | | - | |
7085 | 7057 | | |
7086 | 7058 | | |
7087 | 7059 | | |
| |||
7540 | 7512 | | |
7541 | 7513 | | |
7542 | 7514 | | |
7543 | | - | |
7544 | | - | |
7545 | 7515 | | |
7546 | 7516 | | |
7547 | 7517 | | |
| |||
8010 | 7980 | | |
8011 | 7981 | | |
8012 | 7982 | | |
8013 | | - | |
8014 | | - | |
8015 | 7983 | | |
8016 | 7984 | | |
8017 | 7985 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
| 167 | + | |
166 | 168 | | |
167 | 169 | | |
168 | 170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| 328 | + | |
| 329 | + | |
328 | 330 | | |
329 | 331 | | |
330 | 332 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
8 | 20 | | |
9 | 21 | | |
10 | 22 | | |
11 | | - | |
12 | | - | |
13 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
14 | 26 | | |
15 | 27 | | |
16 | 28 | | |
| |||
27 | 39 | | |
28 | 40 | | |
29 | 41 | | |
30 | | - | |
| 42 | + | |
31 | 43 | | |
32 | 44 | | |
33 | 45 | | |
34 | 46 | | |
35 | 47 | | |
36 | 48 | | |
37 | 49 | | |
38 | | - | |
| 50 | + | |
39 | 51 | | |
40 | 52 | | |
41 | 53 | | |
42 | 54 | | |
43 | 55 | | |
44 | 56 | | |
45 | 57 | | |
46 | | - | |
| 58 | + | |
47 | 59 | | |
48 | 60 | | |
49 | 61 | | |
50 | | - | |
| 62 | + | |
51 | 63 | | |
52 | | - | |
| 64 | + | |
53 | 65 | | |
54 | 66 | | |
55 | 67 | | |
| |||
59 | 71 | | |
60 | 72 | | |
61 | 73 | | |
62 | | - | |
| 74 | + | |
63 | 75 | | |
64 | | - | |
| 76 | + | |
65 | 77 | | |
66 | 78 | | |
67 | 79 | | |
68 | | - | |
| 80 | + | |
69 | 81 | | |
70 | 82 | | |
71 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
72 | 87 | | |
73 | 88 | | |
74 | | - | |
| 89 | + | |
75 | 90 | | |
76 | 91 | | |
77 | 92 | | |
78 | | - | |
| 93 | + | |
79 | 94 | | |
80 | | - | |
| 95 | + | |
81 | 96 | | |
82 | | - | |
| 97 | + | |
83 | 98 | | |
84 | 99 | | |
85 | 100 | | |
| |||
96 | 111 | | |
97 | 112 | | |
98 | 113 | | |
99 | | - | |
| 114 | + | |
100 | 115 | | |
101 | 116 | | |
102 | 117 | | |
103 | 118 | | |
104 | 119 | | |
105 | 120 | | |
106 | 121 | | |
107 | | - | |
| 122 | + | |
108 | 123 | | |
109 | 124 | | |
110 | 125 | | |
111 | 126 | | |
112 | 127 | | |
113 | 128 | | |
114 | 129 | | |
115 | | - | |
| 130 | + | |
116 | 131 | | |
117 | 132 | | |
118 | 133 | | |
| |||
122 | 137 | | |
123 | 138 | | |
124 | 139 | | |
125 | | - | |
| 140 | + | |
126 | 141 | | |
127 | | - | |
| 142 | + | |
128 | 143 | | |
129 | 144 | | |
130 | 145 | | |
131 | 146 | | |
132 | 147 | | |
133 | 148 | | |
134 | 149 | | |
135 | | - | |
| 150 | + | |
136 | 151 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
0 commit comments