Commit d5e2988
fix: set oauth2 auto_error=False so IP whitelist works without token
OAuth2PasswordBearer with auto_error=True rejected tokenless requests
before ip_whitelist_or_auth could check the client IP. Set auto_error
to always be False so localhost requests bypass auth as intended.
Remove test for deleted scheduler.py and clean up dev mode test that
no longer needs to patch auto_error.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 99d0b63 commit d5e2988
2 files changed
Lines changed: 2 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
| 425 | + | |
433 | 426 | | |
434 | 427 | | |
435 | 428 | | |
436 | 429 | | |
437 | 430 | | |
438 | 431 | | |
439 | 432 | | |
440 | | - | |
441 | 433 | | |
442 | 434 | | |
443 | 435 | | |
| |||
859 | 851 | | |
860 | 852 | | |
861 | 853 | | |
862 | | - | |
863 | | - | |
864 | | - | |
865 | | - | |
866 | | - | |
867 | | - | |
868 | 854 | | |
869 | 855 | | |
870 | 856 | | |
| |||
0 commit comments