Hello,
First of all, thanks for making this and open-sourcing it. It's working well for us in testing.
If a user creates their account through this plugin by signing into their Office 365, their email address is stored both in the ost_user_account table's username) column and also as the default record in the ost_user_email table. My concern is for those occasions where a user has their Office 365 administrator change their account's email address. This is typical for name changes, such as an employee getting married and changing their last name, then updating their email address to match.
How does this plugin handle that upon the first login with the new email address? Does it change the email addresses stored in osTicket's database, or does it treat it as a new user? If the latter is the case, which update scripts need to be run on the osTicket side to get those email addresses in sync so that a duplicate account scenario doesn't arise?
Side note: you should consider creating a pull request to add this great plugin to the official https://github.com/osTicket/osTicket-plugins repo so others can find it. I would not have chosen osTicket as our help desk solution if it weren't for your plugin, and I bet other people are in the same boat.
Hello,
First of all, thanks for making this and open-sourcing it. It's working well for us in testing.
If a user creates their account through this plugin by signing into their Office 365, their email address is stored both in the
ost_user_accounttable'susername)column and also as the default record in theost_user_emailtable. My concern is for those occasions where a user has their Office 365 administrator change their account's email address. This is typical for name changes, such as an employee getting married and changing their last name, then updating their email address to match.How does this plugin handle that upon the first login with the new email address? Does it change the email addresses stored in osTicket's database, or does it treat it as a new user? If the latter is the case, which update scripts need to be run on the osTicket side to get those email addresses in sync so that a duplicate account scenario doesn't arise?
Side note: you should consider creating a pull request to add this great plugin to the official https://github.com/osTicket/osTicket-plugins repo so others can find it. I would not have chosen osTicket as our help desk solution if it weren't for your plugin, and I bet other people are in the same boat.