Closed sanny-io closed 8 years ago
It's caused by a problem in the nginx configuration not taking args.
Go to your sites-enabled and open up your sites configuration.
cd /etc/nginx/sites-enabled
Wherever you see try_files
replace it with
try_files $uri $uri/ /index.php$is_args$args;
Restart nginx.
service nginx restart
I'm working with a local project and a clone of the project on my web server. The two are identical with the exception of the
.env
file and such. This package works flawlessly on my local project, but seems to run into issues on the remote project.config/steam-auth.php
'redirect_url' => '/login',
routes.php
Route::get('login', 'AuthController@login');
The AuthController's login function is pretty much identical to the example on the git in terms of core functionality.
Now the problem arises when I try signing in with the remote project on my web server. By visiting
mysite.com/login
I get redirected to Steam as normal, but when I sign in, I just get redirected to the same Steam login page. I did some digging around, and it appears thatrequestIsValid()
is returning false inSteamAuth.php
every time. It looks like none of the GET parameters are being sent to the login page for some reason. I'm using the version that was just published a few days ago,v2.2.0
This problem only occurs on the remote project and not on my local project. I sign in on my local project by visiting
localproject.app/login
get redirected to Steam, login successfully, and get redirected tolocalproject.app/panel
afterwards. The remote project loops the Steam login page over and over when attempting to sign in to Steam.