KevinTheJedi
Hello Kevin, did you need people to test shared mailboxes? I use shared mailboxes and they work normally, no changes there.
MS OAuth2 Error: The API version 'V2' has been depreciated.
- Edited
KevinTheJedi Just to add another confirmation, this modification worked for me when using a shared mailbox. However, I did log into the shared mailbox directly (yes, I know - not best practice but it works), so I'm not sure this provides any additional information for confirmation of a fix ️
Thanks for the modification! I suspect a lot of people will have expired client secrets around now given it's just over 2 years since the plugin was released!
Nah, that’s the (insert nerd voice) “you’re not supposed to do it that way as you are voiding license by doing so” way. Trust me, MS “pros” (purists) got mad at me for recommending that.
Anyways, we have an idea of how to accomplish this so I’ll post a new build here for peeps to test the shared mailboxes/aliases using a service account or an account that has full read/write permissions to the mailbox to fully confirm it’s working again.
Cheers.
Hello KevinTheJedi How can i do this on a Windows installation?
This is to confirmed that this fixed is working on my end.
Thank you @KevinTheJedi
Just to confirm that the posted fix works for me, once I remembered the 1 to 0 in the DB table to tell it to not use phar!
The fix worked for us as well.... until this morning. Now we are getting an invalid_client error.
Ill look around. Been working fine for years and just stopped this morning. Sus
You are a wise jedi... cert expired.
Confirming that the posted fix worked for us as well.
Thanks!
Thanks @KevinTheJedi, I managed to restore the service with the solution posted in this thread.
Thanks, the proposed bypass solves my problem.
How will we know when the official patch is available ?
Hello KevinTheJedi,
I'm new to Php, I am trying to unpack the plugin using the command prompt and executing this command that you posted last week php -r '$phar = new Phar("auth-oauth2.phar"); $phar->extractTo("./auth-oauth2");'. But it says the filename, directory is incorrect. Is that command posted only valid for Linux? What is the equivalent command for windows?
If I want to use an online tool to extract the .phar file to php, how can I then merge these files auth.php and oauth.php into auth-oauth2/oauth2.php?
If anyone else knows how to do this, I will appreciate a lot.
As I said, I am not an expert with php so I apologize for my little knowledge
Thank you
Fix is working for us
KevinTheJedi Could you let me know if this works in cmd or powershell, I tried bot and doesnt seem to do anything.
- Edited
Should be. You need to be within the osTicket plugin directory in the cmd/powershell and you need to replace the "php" to the full path of your PHP executable. You also likely need to change the "/" to "\" (typical windows stuff).
Cheers.
Is there a way to get notified when a patch is available for this issue?