Yes, but in an ugly way. Just put templates folder in your customized 
cas-overlay project directory, and make your changes on templates. overlay 
will package your folder and use your customized view.

If you want to modify login logic, then you may have to change webflow 
configuration, I am not expert of it, you are on your own.

在 2019年6月12日星期三 UTC+8下午12:53:42,Jeff Sittler写道:
>
> Were you able to find a solution to customizing the login view?
>
> -Jeff
>
> On Wednesday, May 15, 2019 at 9:34:48 AM UTC-7, jm 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.
>>
>

-- 
- 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/02498d5e-c976-4731-a7bf-81a0046d6232%40apereo.org.

Reply via email to