fix(vikon): use vikon_core redirect_uri in oauthCallback to match VIKON server registration

This commit is contained in:
F4ilji
2026-07-04 18:28:34 +05:00
parent 7b9cf25631
commit 11b145861d
@@ -53,7 +53,7 @@ class VikonController extends Controller
$code = $request->query('code');
if ($code) {
try {
$redirectUri = route('dashboard.vikon-updates.callback');
$redirectUri = url('/vikon_core/update/index.php');
$tokens = $this->auth->run($code, $redirectUri);
Session::put('vikon_access_token', $tokens['access_token']);
Session::put('vikon_refresh_token', $tokens['refresh_token']);