Refactor Intelligence Toolbar (#14) and fix auth regression #24
Reference in New Issue
Block a user
Delete Branch "fix/auth-regression"
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?
This PR resolves the authentication regression issue where users encountered "Unauthorized" errors after logging out and back in. This regression was identified during the refactoring of the Intelligence Toolbar.
Fixes #14
Changes:
AuthenticationHeaderHandlerto automatically attach Bearer tokens toHttpClientrequests.401 Unauthorizedfor/apirequests instead of redirecting to the login page.Microsoft.Extensions.Httpto the WASM client project to supportIHttpClientFactoryand message handlers.Verified with local build.
3ff8d81d0fto0e0af40f5eFix authentication regression post-logout/loginto Refactor Intelligence Toolbar (#14) and fix auth regression