I have a Moodle site with multiple authentication types enabled. It has CAS SSO and manual authentication. If user has already logged into other system using CAS SSO, then try to get into Moodle course using url like this https://www.mymoodleexample.com/course/view.php?id=4, Moodle still redirect user to https://www.mymoodleexample.com/login/index.php. Once user hit the https://www.mymoodleexample/login/index.php?authCAS=CAS URL, then only user can bypass the login (User doesn't need to enter username and password again).
Now my problem here is, I want to redirect users from one system to Moodle course. I don't want them to landing into https://www.mymoodleexample.com/login/index.php and then select CAS login type. How do I by pass the login here? Did anybody else experience same issue?
Thanks a lot.