mulyana
You can’t unless you modify the codebase and potentially the OAuth2 Plugin. The way the system and OAuth2 Plugin is currently designed you must initiate a click which triggers a request to the IdP with specific attributes embedded within it.
What you are really looking for is the HTTPassthru Plugin. However, this will only work if you have SSO configured at the webserver level. Your webserver can forward the User/Agent credentials in the requests and osTicket will automatically log them in without the login page. We don’t have documentation on this Plugin as it’s a simple install and add/enable an Instance. All the configuration is done at the webserver level which you can find many guides online specific to your platform and setup.
Cheers.