Commit 8d6ec6f
committed
fix: store cred_mngr on WtSite, improve 403 diagnostics
- WtSite.__init__ now stores _cred_mngr and _iri so the ApiGateway
transport can re-authenticate on expired sessions
- Log the 403 response body to help diagnose permission issues
(e.g. missing bot password grants, see
OpenSemanticLab/mediawiki-extensions-ApiGateway#1)1 parent 0447286 commit 8d6ec6f
2 files changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
249 | 256 | | |
250 | 257 | | |
251 | 258 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
95 | 97 | | |
| 98 | + | |
| 99 | + | |
96 | 100 | | |
97 | 101 | | |
98 | 102 | | |
| |||
0 commit comments