Hello,
I installed the OAuth2 plugin v0.6.
I want to configure OAuth2 at the IMAP Fetching level.
I was able to set it up once (Azure app credentials etc...) and everything seems to have worked. Except that I didn't have email fetching with the external cron programmed. I could not determine the cause of the problem.

I thought to myself that I had done something wrong then. I then uninstalled the plugin, deleted the application registration in Azure.

Now that I want to set up the OAuth configuration again, after configuring the instance, I find myself on a "Loading" page that never ends. It is no longer possible to enter the credentials because the Microsoft authentication window no longer appears.

I tried several times, but nothing to do. An idea ?

With best regards.

    Same problem...
    Ugh
    Thank you...
    🙂

    KevinTheJedi What do you mean by "system email"? Where in the config ?

    Would adding a new email account and then deleting the old one work ?

    Best regards.

    The default email that osTicket was originally setup with needs to be deleted. However, in EMAIL ADDRESSES, the default is greyed out and is unselectable. I work around this by selecting a different default and then deleting/recreating the address. This seemed to reset everything.

    What I did was:

    • Admin->Emails tab-> Settings-> EMAIL SETTINGS AND OPTIONS Select a different default email address. I set mine to the "alerts@"mydomain".
      -Admin->Emails tab-> EMAIL ADDRESSES Select the email address and delete it.
      -Admin->Emails tab -> EMAIL ADDRESSES Re-Create the email address you just deleted.
      -Admin->Emails tab-> Settings->EMAIL SETTINGS AND OPTIONS Select the "new" default email address that you just recreated.

    Seemed to work.

      You would need to set a new default email, before you can delete it.

      Helllo,

      in our case were able to config the accounts with outh , however no mail is fetched.

      We deleted the "default email" as instruted above but the problem persists.

      Are we missing something ?

      13 days later

      same issue. Could anyone help please? It is now critical for us since Microsoft revoked the legacy auth and now emails are not fetching via OAuth2. It always going for approval.

      • RBGE replied to this.

        Did you try to add the cron job that run every X minutes? I put mine at every minutes like this.

        This is the file /etc/cron.d/osticket

        # Cron jobs for osticket system
        # This jobs fetch new emails every minutes
        * * * * *       www-data        /usr/bin/php /var/www/osticket/upload/api/cron.php

        You might need to adjust your path depending how you installed osticket.

        I've seen path with uppercase on first t like this /var/www/osTicket/upload/...

        I didn't - I would give it a try but at least when the emails fetch once. However, it didn't after configuring OAuth2 even for a once.

        16 days later

        TAS

        hi,
        i cannot save the operation of the first step ... i miss the "save"-button ...
        it is possibile to activate the hidden button?
        thanks
        best regards
        stefan

        23 days later

        @stefanlanziner I'm not sure what you are trying to ask. Save button? hidden button?
        You might want to start your own thread and include your environment information and a better description of what your issue is.

        Write a Reply...