I want to create a plugin that will override the login before the admin page.
I want the user to be redirected to the CAS server and then return back.
I am not quite sure how to do it.
Any headers for the events that I need to override and what way do you advise me to take?
What things should I look out for?
I have tried checking other login plugins but either I couldn’t make them work or they were older versions.
Any help will be appreciated!!
Thanks in advance