Repository navigation
Commit dbdd7fe
committed
docs(cors): which list auth reads, said precisely
OS_TRUSTED_ORIGINS stays auth's own list and admits nothing to CORS. Auth
also trusts every origin listed in OS_CORS_ORIGIN, so that one variable
covers a cross-origin front-end that signs in; a list given through the
plugin's cors.origins option is not seen by auth, so such a front-end is
then also named in OS_TRUSTED_ORIGINS. Changeset and HARDENING.md § CORS.
Claude-Session: https://claude.ai/code/session_01LmjU2x1faLZ39DVTFyVca6
Co-authored-by: Claude <noreply@anthropic.com>1 parent f7cb52d commit dbdd7fe
2 files changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
216 | | - | |
217 | | - | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
218 | 221 | | |
219 | 222 | | |
220 | 223 | | |
| |||
0 commit comments