Commit 9cc2fc1
committed
Add missing /oauth/authorize passthrough endpoint
When I refactored the OAuth flow to allow proxying through the
application server, I changed the behavior of the default authorize
endpoint to point at the application server but did not add a default
handler there to call through to the server and get the correct
authorize endpoint to redirect the user's browser to the IdP.1 parent d47fd12 commit 9cc2fc1
File tree
1 file changed
+7
-3
lines changed- packages/auth-nextjs/src
1 file changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
165 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
| |||
184 | 185 | | |
185 | 186 | | |
186 | 187 | | |
187 | | - | |
| 188 | + | |
188 | 189 | | |
189 | 190 | | |
190 | 191 | | |
| |||
282 | 283 | | |
283 | 284 | | |
284 | 285 | | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
285 | 289 | | |
286 | 290 | | |
287 | 291 | | |
| |||
0 commit comments