Hello,

oSTicket v1.18.10
Hosted on an ubuntu (20.04) VM in Azure

SMTP set up not completing with this error:

Service with name "osTicket\Mail\Protocol\Smtp\Auth\OAuth2" could not be created. Reason: The input appears to be a DNS hostname but cannot match against hostname schema for TLD 'COM', The input does not appear to be a valid URI hostname, The input does not appear to be a valid local network name

    rayo

    Something is wrong with the setup, code files, or plugin files. Please share a screenshot of Admin Panel > Dashboard > Information.

    When did you download the OAuth2 plugin?

    Cheers.

    • rayo replied to this.

      rayo

      You may need to delete the email and recreate it. If you’ve been using this email for a while then it’s better to delete the associated records in the _email_account table and in the _config table and then reconfigure it.

      Cheers.

      I tried that just now, I think I have issues with URL rewrite (something I thought I fixed yesterday). When I submit the Idp config, instead of getting the Azure consent pop up I am redirected to my osTicket client login page.

      The URL rewrite I had to sort after configuring apache for ssl. This is a whole new deployment and my first time installing osTicket.

        rayo

        Even if you enable URL Rewrite for Apache that doesn’t always mean rewriting is allowed in the directory. Usually you have to edit the Apache config, edit the <Directory /path/to/site> directive, and add AllowOverride All. Then obviously reload or restart Apache and PHP-FPM if you’re running it.

        Cheers.

        Write a Reply...