Skip to content

osTicket plugin for google oauth2 authentication for clients and agents

License

Notifications You must be signed in to change notification settings

senzil/osticket-google-oauth2-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

osTicket plugin for Google Outh2 Login

Based on core plugin aouth-aouth2 aouth-aouth2 with some fixes and extra features

  • Use Helpdesk URL for redirect
  • Domain Whitelist
  • Add clients and agents buttons url on config to put the image of your preference.
  • Renamed all Google+ to Just Google

Installing

Clone this repo or download the zip file and place the contents into include/plugins/google-oauth2-plugin folder

After cloning, hydrate the repo by downloading the third-party library dependencies.

php make.php hydrate

Building Plugins

Make any necessary additions or edits to plugin and build PHAR file with the make.php command

php -dphar.readonly=0 make.php build

This will compile a PHAR file for the plugin directory. The PHAR will be named google-oauth2-plugin.phar and can be dropped into the osTicket plugins/ folder directly.

Blank Page on google redirect to system

You can fix it fast changing a little the file /api/.htaccess

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.*/api)

#RewriteRule ^(.*)$ %1/http.php/$1 [L]
RewriteRule ^(.*)$ {put your schema:domain:port}/api/http.php/$1 [L]
</IfModule>

About

osTicket plugin for google oauth2 authentication for clients and agents

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages