Skip to main content

OAuth2 Entra ID login redirects back to home page without logging in after the first successful login. Re-creating the user in osTicket fixes it temporarily.

osTicket: 1.18.2 PHP: 8.3 Checked:

This is likely a duplicate or stale user record in the database, or a Guest User session issue. Do not delete and recreate the user -- instead clear all browser cache/cookies/sessions completely and try a fresh private browser session. Check the database for duplicate user entries with the same email. Review all logs during a failed login attempt (PHP error log, Apache error log, osTicket system logs, browser console) to identify where the authentication pipeline drops the session after successful Entra ID authentication.

Originally sourced from forum.osticket.com . osFAQ.org summarises community knowledge for quick reference.

Helpful
Report an error