Feature #28664
API middleware redirect to login page when error status is 401
Pull request:
Fixed in Releases:
Found in Releases:
Description
API middleware redirect to login page when error status is 401
Related issues
Associated revisions
History
#1
Updated by The Foreman Bot about 1 year ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/7337 added
#2
Updated by The Foreman Bot 9 months ago
- Fixed in Releases 2.2.0 added
#3
Updated by Ron Lavi 9 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset 3618f5417617ffc060829dd8d131958ad4bd7d8b.
#4
Updated by Tomer Brisker 9 months ago
- Related to Bug #30086: move foremanUrl into ReactApp added
#5
Updated by The Foreman Bot 6 months ago
- Pull request https://github.com/theforeman/foreman/pull/7975 added
Fixes #28664 - support API middleware response callbacks (#7337)
the handleError callback will get called on the API request error.
the consumer won't need to wait until the component
will get updated by the store, and can invoke any method they want.