James, If you want to change the look of the login page there is https://apereo.github.io/cas/6.0.x/ux/User-Interface-Customization.html#
If you want to add a new authentication mechanism then you will have to modify web flow, https://apereo.github.io/cas/6.0.x/webflow/Webflow-Customization.html and add the appropriate code to perform the authentication process, https://apereo.github.io/cas/6.0.x/installation/Configuring-Custom-Authentication.html. Ray On Wed, 2019-05-15 at 09:34 -0700, James Mackerel wrote: Hello everyone, I am trying to find a way to completely customize CAS login view. We have some complex view customization work to do, for example, let users to login via scanning QR code, etc. After searching, I found this: https://apereo.github.io/2018/06/10/cas-userinterface-customizations/#restful-views But when I search for "cas.view.rest.url" in google, it told me there is only one result web, which is the web page mentioned above. We tried to customize by overriding templates/loginView.html but it was really hard work. In fact, I have had an idea in my mind. I saw CAS REST Protocol<https://apereo.github.io/cas/4.2.x/protocol/REST-Protocol.html> the other day and I thought I could build a completely new single page application on these RESTful APIs, but I will have to implement CAS Protocol on this SPA myself in that way, which is ugly and insecure. I wonder if there is a elegant way to customize login view? Many thanks to you. -- Ray Bon Programmer Analyst Development Services, University Systems 2507218831 | CLE 019 | [email protected] -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/1244dc959d5b11b0a2c467b6a49fa95be2ab4cca.camel%40uvic.ca.
