Repository navigation
Commit 9f497f3
Load the OAuth consent screen in full so its form-action applies
Someone signed out when an app starts connecting signs in first, and the
code form submits through Turbo. Turbo follows the redirect back to the
consent screen and swaps in its body, so the document keeps the sign-in
page's Content-Security-Policy, with form-action 'self'. Authorize then
posts fine but the browser blocks the redirect to the app's callback.
Mark the consent screen as needing a full reload, so it always arrives
with its own policy, which allows the validated redirect origin.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 21a5540 commit 9f497f3
2 files changed
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
6 | 11 | | |
7 | 12 | | |
8 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
33 | 59 | | |
0 commit comments