We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Access to fetch at 'http://127.0.0.1:84/index.php?route=extension/module/d_vuefront/graphql&cors=true' from origin 'http://localhost:3000' has been blocked by CORS policy: Request header field authorization is not allowed by Access-Control-Allow-Headers in preflight response.
steps to reproduce the issue add token in catalog/controller/extension/d_vuefront/common/account.php login function. $token = token(64); $this->model_account_customer->editToken($customer_info['customer_id'], $token); return array( 'token' => $token, 'customer'=> array( 'id' => $customer_info['customer_id'], 'firstName' => $customer_info['firstname'], 'lastName' => $customer_info['lastname'], 'email' => $customer_info['email'], ) );
Now further requests getting above error.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Access to fetch at 'http://127.0.0.1:84/index.php?route=extension/module/d_vuefront/graphql&cors=true' from origin 'http://localhost:3000' has been blocked by CORS policy: Request header field authorization is not allowed by Access-Control-Allow-Headers in preflight response.
steps to reproduce the issue
add token in catalog/controller/extension/d_vuefront/common/account.php login function.
$token = token(64);
$this->model_account_customer->editToken($customer_info['customer_id'], $token);
return array(
'token' => $token,
'customer'=> array(
'id' => $customer_info['customer_id'],
'firstName' => $customer_info['firstname'],
'lastName' => $customer_info['lastname'],
'email' => $customer_info['email'],
)
);
Now further requests getting above error.
The text was updated successfully, but these errors were encountered: