php -i|grep Loaded\ ConfigurationLoaded Configuration File в phpinfo(); покажи
Access to XMLHttpRequest at 'http://localhost:8080/auth/login' from origin 'http://test' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.No 'Access-Control-Allow-Origin' header is present on the requested resource.Прочтите медленно и внимательно