title | issue | author | author_email | author_github |
---|---|---|---|---|
Require users to log into their Shopware Account if token has expired |
NEXT-21092 |
Frederik Schmitt |
fschmtt |
- Added
Shopware\Core\Framework\Store\Exception\ShopSecretInvalidException
- Added
Shopware\Core\Framework\Store\Exception\StoreSessionExpiredException
- Changed
Shopware\Core\Framework\Store\Services\StoreClientFactory
to use new middlewares - Added
Shopware\Core\Framework\Store\Services\ShopSecretInvalidMiddleware
to log out all users - Added
Shopware\Core\Framework\Store\Services\StoreSessionExpiredMiddleware
to log out a user if their token has expired - Added
Shopware\Core\Framework\Store\Services\VerifyResponseSignatureMiddleware
- Added
Shopware\Core\Framework\Store\Subscriber\LicenseHostChangedSubscriber
to log out all users when the license host changed
- Changed multiple store routes to fail with
403 Forbidden
if authentication is required but the user's Shopware Account session has expired
- Added
storeSessionExpiredInterceptor
to retry requests that previously failed with store exceptions insrc/core/factory/http.factory.js
- Changed
handleErrorStates
to notify the user if their Shopware Account session has expired insrc/core/factory/http.factory.js