- Notifications
You must be signed in to change notification settings - Fork928
Commit7b132e4
committed
Move redirect check into query parser
It will now be checked on the token side as well, although we do notactually use it there anyway. But this seems more right.The URL parser was added for this OAuth2 code so we can just rename it.1 parent6e3940d commit7b132e4
File tree
3 files changed
+14
-27
lines changed- coderd/httpapi
- enterprise/coderd/identityprovider
3 files changed
+14
-27
lines changedLines changed: 12 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
123 | 123 |
| |
124 | 124 |
| |
125 | 125 |
| |
126 |
| - | |
127 |
| - | |
| 126 | + | |
| 127 | + | |
128 | 128 |
| |
129 | 129 |
| |
130 | 130 |
| |
131 | 131 |
| |
132 | 132 |
| |
133 | 133 |
| |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
134 | 144 |
| |
135 | 145 |
| |
136 | 146 |
| |
|
Lines changed: 1 addition & 24 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
7 | 6 |
| |
8 | 7 |
| |
9 |
| - | |
10 | 8 |
| |
11 | 9 |
| |
12 | 10 |
| |
| |||
40 | 38 |
| |
41 | 39 |
| |
42 | 40 |
| |
43 |
| - | |
| 41 | + | |
44 | 42 |
| |
45 | 43 |
| |
46 | 44 |
| |
| |||
49 | 47 |
| |
50 | 48 |
| |
51 | 49 |
| |
52 |
| - | |
53 |
| - | |
54 |
| - | |
55 |
| - | |
56 |
| - | |
57 |
| - | |
58 |
| - | |
59 | 50 |
| |
60 | 51 |
| |
61 | 52 |
| |
| |||
143 | 134 |
| |
144 | 135 |
| |
145 | 136 |
| |
146 |
| - | |
147 |
| - | |
148 |
| - | |
149 |
| - | |
150 |
| - | |
151 |
| - | |
152 |
| - | |
153 |
| - | |
154 |
| - | |
155 |
| - | |
156 |
| - | |
157 |
| - | |
158 |
| - | |
159 |
| - |
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
55 |
| - | |
| 55 | + | |
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
|
0 commit comments
Comments
(0)