Ctrl K
ComunidadGuías…

changelog/release-6-4-7-0/2021-11-12-separate-storage-of-first-run-wizard-token-and-store-token.md

Rama trunk · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
---
title: Separate storage of First Run Wizard token and Store token
issue: NEXT-18549
author: Frederik Schmitt
author_email: f.schmitt@shopware.com 
author_github: fschmtt
---
# Core
* Changed `Shopware\Core\Framework\Store\Authentication\FrwRequestOptionsProvider` to add the First Run Wizard token as X-Shopware-Token header
* Changed `Shopware\Core\Framework\Store\Api\FirstRunWizardController::frwLogin()` to store the First Run Wizard token in the `user_config` database table instead of `user.store_token`
* Changed `Shopware\Core\Framework\Store\Api\FirstRunWizardController::upgradeAccessToken()` to remove the First Run Wizard token from the `user_config` database table
* Added `Shopware\Core\Framework\Store\Services\FirstRunWizardClient::USER_CONFIG_KEY_FRW_USER_TOKEN`
* Added `Shopware\Core\Framework\Store\Services\FirstRunWizardClient::USER_CONFIG_VALUE_FRW_USER_TOKEN`
* Added `Shopware\Core\Framework\Store\Services\FirstRunWizardClient::updateFrwUserToken()`
* Added `Shopware\Core\Framework\Store\Services\FirstRunWizardClient::removeFrwUserToken()`
* Added `Shopware\Core\Framework\Store\Services\FirstRunWizardClient::getFrwUserTokenConfigId()`