Redirection after OIDC Authentication in Matomo

Hello, I would like to know if there is a way to ensure proper redirection with the correct site ID, rather than the default, after OIDC authentication in Matomo. Additionally, is it possible to add parameters to the override login OIDC redirect URL for fine-tuning the redirection process? For example, when I navigate to: https://<matomo_url>/index.php?module=CoreHome&action=index&idSite=X&period=day&date=yesterday#?period=day&date=yesterday&category=Dashboard_Dashboard&subcategory=1, I first pass through OIDC authentication. However, Matomo redirects me not to the site with ID X but to the default site with ID 1 in my case. How can I ensure that the initial ID is taken into consideration during the redirection process?