I like your workaround!
I can work on a CAS-specific feature where, if CAS is the only enabled external service (i.e., no Google, no LDAP) and WordPress logins are hidden (in Advanced settings), then Authorizer will automatically redirect to the CAS login form instead of showing the WordPress login form with the “Sign in with CAS” button as the only option.
That way you should be able to point to any link directly, and if the user isn’t logged into WordPress they will get redirected to CAS. If they are already authenticated with CAS, it will just be a series of redirects that eventually leads them to their destination without any intervention on their part.
New version (2.4.0) is now out with this feature. Please let me know if you discover any problems!
https://wordpress.org/plugins/authorizer/changelog/
I need to run some more tests, but it didn’t work for me. It re-directed to the correct login url, but I got a blank screen. I’ll go through and double check my settings and check for plugin incompatibility and let you know.
Hm, I can’t seem to reproduce–I get redirected to the CAS server login URL, but I do see the CAS login form.
It might have something to do with an existing CAS session–have you tried it in an incognito/private browsing window to see if the same behavior happens when you don’t have any cookies from the CAS server set?
Let me know if you can trace it down farther.