Hi,
I've just upgraded our osTicket from 1.16 to 1.17.3 and enabled oauth2 plugin, but got the same situation like others here. With successful login oauth2 redirects me to the client site, not /scp/
I'm using nginx with php8.1 with OAuth2 - Other instance.
My nginx logs says 302 redirects from /scp/login.php to main domain.
Client id and client secret are correctly entered and User Identifier is set to username.
123.123.123.123 - - [21/Mar/2023:11:17:43 +0200] "GET /scp/login.php?do=ext&bk=oauth2.agent.p3i3 HTTP/1.1" 302 23 "https://domain.com/scp/login.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"
123.123.123.123 - - [21/Mar/2023:11:17:43 +0200] "GET /api/auth/oauth2?code=rSvtzpzcGeUpxEM9OrXjqCHSvOGa9Vyi0cyImnNF&state=d40d97187f42923b8172bf409192a2d1 HTTP/1.1" 302 23 "https://domain.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"
I'll be very happy if someone helps me with this.
Thank you