glewio / glew-magento2-service

GNU General Public License v3.0
3 stars 3 forks source link

Verifying the install does not work #19

Open absarakram opened 1 year ago

absarakram commented 1 year ago

Setup wizard suggests to Navigate to<Store URL>/glew/module/version and check the JSON to confirm installation.

This path <Store URL>/glew/module/version expects HTTP_X_GLEW_TOKEN or X_GLEW_TOKEN headers. And trying to visit this path in the browser will return Undefined index: X_GLEW_TOKEN error.

Here is the code responsible for error /Controller/Module.php $authToken = (isset($_SERVER['HTTP_X_GLEW_TOKEN']) ? $_SERVER['HTTP_X_GLEW_TOKEN'] : $_SERVER['X_GLEW_TOKEN']);

image