Closed GloriamSemper closed 8 months ago
Fixed it. It was an issue with the PHP settings in nginx. Changed Nginx config to this:
location ~ /oauth/.*\.php$ {
# 404
try_files $fastcgi_script_name =404;
# default fastcgi_params
include fastcgi_params;
# fastcgi settings
fastcgi_pass unix:/run/php/php-fpm.sock;
fastcgi_index index.php;
fastcgi_buffers 8 16k;
fastcgi_buffer_size 32k;
fastcgi_hide_header X-Powered-By;
fastcgi_hide_header X-CF-Powered-By;
}
Reloaded Nginx and it works great. Hope this helps others. Thanks for your work on this project. LDAP was the ONLY thing we wanted from enterprise and did NOT want to pay that price for LDAP auth.
I've spent way too many hours on this so either it's a bug, or I am missing something obvious. After clicking on the GitLab button (the button points to "https://mattermost.HIDDEN.com/oauth/gitlab/login") on the login page, it quickly redirects and ends up at "https://mattermost.HIDDEN.com/oauth/access_token" with a completely blank html page. I've checked all relevant logs and can't find any errors or even warnings. Mattermost server seems to be working fine and it can be used like normal.
What's going on? HELLLLP :D OS:
Mattermost config.json:
Nginx config:
PHP Server Info: