Installation

  • Get it at http://osticket.com/download-edge
  • Push it to /var/www/vhosts/helpdesk.yoursite.pt/include/plugins
  • Install and enable it on the web console

Configuration

  • Go to https://console.developers.google.com/apis or https://console.developers.google.com/project):
  • Create new project (osTicket)
  • Enable API on the Dashboard
  • Go to Credentials > OAuth Consent Screen and fill the form
  • Go to Credentials > Credentials and configure an Web Application
  • Fill AUTHORIZED JAVASCRIPT ORIGIN with https://helpdesk.yoursite.pt
  • Fill AUTHORIZED REDIRECT URI with https://helpdesk.yoursite.pt/api/auth/ext
  • Go to OST and copy paste the ClientID and the Client Secret values to the OAuth2 plugin configuration page
  • Enable the plugin

 

On the VHOST web server configuration add:

 RewriteEngine on
 RewriteRule ^/api/auth(.*) https://helpdesk.yoursite.pt/api/http.php/auth$1 [L]

 

Create a local user on osTicket and select Google Plus auth.

Advertisements