Good day everyone,
Hitting a wall in making MSFT OAuth to work (account login). Followed the guide from https://docs.osticket.com/en/latest/OAuth2/Microsoft%20Authentication%20(SSO)%20Guide.html
I was able to get into MSFT login page and input my account credentials and agree to a prompt to access my account data then 404 error.
Below is my configuration file:
#==comment osTicket configuration using Let's Encrypt SSL ==
<VirtualHost :80>
ServerName ticket.myemail.com
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.) https://%{SERVER_NAME}/$1 [R=301,L]
</virtualhost>
<VirtualHost *:443>
ServerAdmin buruguduystunstugudunstuy@myemail.com
DocumentRoot /var/www/html/osticket/upload
ServerName ticket.mydomain.com
<Directory /var/www/html/osTicket/upload>
#==comment Options Indexes FollowSymLinks MultiViews - apache not starting when enabled ==
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/osticket_error.log
CustomLog ${APACHE_LOG_DIR}/osticket.access.log combined
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/ticket.bdo-cmc.ph/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/ticket.bdo-cmc.ph/privkey.pem
</VirtualHost>
azureuser@TICKETSVR01:~$ a2enmod rewrite
Module rewrite already enabled
Local admin user is working without issues. I think the same might be true with normal user login.
Below is a snippet of error in osticket.access.log inside /var/log/apache2:
Installation details:
Have not tried configuring emails yet.
Thanks in advance everyone!