We actually should have a build of the OAuth2 plugin ready much sooner than that. We are wrapping up the changes for aliases, etc. now and looking at pushing the new build to the website’s download page next week. We don’t allow PHAR uploads on this Forum for security reasons; otherwise I would’ve had a build up this whole time.
Things to keep in mind if it’s not working:
- Make sure the plugin folder and all files are fully extracted. If you’re using Windows switch the quotes around (single to double and vice versa) in the extraction command.
- Check your
include/ost-config.php
file to make sure you are modifying the correct database. - As I’ve stated before in this thread there are multiple
callback()
functions in the plugin’soauth2.php
file so you need to replace the one for theOAuth2EmailAuthBackend
backend specifically. Make sure you replace the entire function. - Make sure the database changes are saved properly by running SELECT queries afterwards.
- Make sure that for each system email you login to osTicket in incognito window and when you are brought to Microsoft you login as the email itself. As stated earlier in this thread aliases, resource emails, and shared mailboxes WILL NOT WORK at this time until the new build is released.
- Make sure you restart the web server and PHP-FPM (if you’re running it) to clear any file cache. PHAR files tend to be aggressively cached.
Cheers.