Hi Neha,
Yes, it is possible to redirect users when the base URL is hit for both OIDC and SSO.
pls refer below
documentation link - Redirect SSO
This configuration will redirect users on both when base URL or login.html is hit
Custom Login Page Setup
In your case, if you want to use a custom login page, you can use either:
loginlocal.html, or
login3.html
For this to work, you also need a corresponding custom index page (index3.html).
How the Redirection Works
By default, after successful authentication, login.html redirects users to index.html.
For a custom login (loginlocal.html or login3.html), after successful authentication, users will be redirected to index3.html.
Steps to Configure
Duplicate login.html located at:project folder > theme > web(If not found there, check deployment > web)
Rename the duplicated file to loginlocal.html or login3.html, and add your custom login HTML.
Duplicate index.html and rename it to index3.html.
After these steps, your folder structure under theme > web will look like this:
let me know if any questions
Regards