OAuth2 authorization loops back to the homepage instead of completing setup when using Apache with mod_fcgid.
Check that the Redirect URI configured in your Azure/Google app registration exactly matches the osTicket redirect URL (https://yoursite.com/api/auth/oauth2). If migrating from another server, the base URL in ost_config must be updated (Admin Panel > Settings > System > Helpdesk URL) before re-authorizing. A database imported from a different base URL instance can cause OAuth callbacks to fail silently and redirect to homepage.
Originally sourced from forum.osticket.com . osFAQ.org summarises community knowledge for quick reference.
Helpful
Report an error