rarandrade Já verifiquei isso mais nada de funcionar! Sabe dizer se ele gera e grava o token na pasta?
Quando olho no console do navegador:
C:\SGA\panel\node_modules\axios\lib\adapters\xhr.js:178 POST http://10.10.30.69/sga/public/api/token 404 (Not Found)
dispatchXhrRequest @ C:\SGA\panel\node_modules\axios\lib\adapters\xhr.js:178
xhrAdapter @ C:\SGA\panel\node_modules\axios\lib\adapters\xhr.js:12
dispatchRequest @ C:\SGA\panel\node_modules\axios\lib\core\dispatchRequest.js:59
Promise resolved (async)
request @ C:\SGA\panel\node_modules\axios\lib\core\Axios.js:51
wrap @ C:\SGA\panel\node_modules\axios\lib\helpers\bind.js:9
(anonymous) @ api.js?62f4:22
F @ _export.js?63b6:36
request @ api.js?62f4:21
(anonymous) @ auth.js?405d:82
F @ _export.js?63b6:36
token @ auth.js?405d:54
wrappedActionHandler @ C:\SGA\panel\node_modules\vuex\dist\vuex.common.js:723
dispatch @ C:\SGA\panel\node_modules\vuex\dist\vuex.common.js:430
boundDispatch @ C:\SGA\panel\node_modules\vuex\dist\vuex.common.js:324
save @ Settings.vue?e12e:463
submit @ Settings.vue?b974:613
invokeWithErrorHandling @ vue.esm.js?a026:1863
invoker @ vue.esm.js?a026:2188
original._wrapper @ vue.esm.js?a026:7559
:9080/#/settings:1 Failed to load http://10.10.30.69/sga/public/api/token: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:9080' is therefore not allowed access. The response had HTTP status code 404.
E no debug do symfony
Matched route "admin_api_index".
Hide context
[▼
"route" => "admin_api_index"
"route_parameters" => [▼
"_route" => "admin_api_index"
"_controller" => "App\Controller\Admin\ApiController::index"
]
"request_uri" => "http://10.10.30.69/novosga/index.php/admin/api/"
"method" => "GET"
]