fix(#168): no Basic challenge for browser fetches (any auth mode) + wizard → /setup #169
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-basic-challenge"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The global popup hazard Nikola asked about, fixed at the one chokepoint:
auth.Middlewareanswers browser subresource requests (Sec-Fetch-Modepresent and notnavigate) with a plain JSON 401 and no challenge header, before any providerChallengeruns. Navigations keep the branded/IdP redirects, WebDAV keeps Basic. Three tests pin the routing (fetch suppressed, navigate passes through, no-Sec-Fetch passes through).Plus the wizard restart handover to
/setup(first-run admin creation is the operator's actual next step;/setupself-forwards to/loginwhen not pending). CHANGELOG v0.5.7.