Back again with another bug which I want to help fix, but don't know where to start. If anyone can offer any advice (not holding out much hope)...
When I override duo-security/casDuoLoginView.html, I find that CAS does not make use of it and still defaults to use the template in the default theme. I recently helped fix a similar problem with the Logout page (https://github.com/apereo/cas/pull/5204 and 5208, ultimately fixed by Misagh), so I know the issue is the result of missing the service in the flow scope. Without the service in the flow scope, the theme resolver falls back to use templates in the default theme. I keep finding similar bugs, so I suspect this is a prevalent problem throughout the many modules of CAS. Anyway, while debugging, I found that I cannot easily get the service as with logout, because Duo 2FA is in a subflow, so the requestContext does not have the service ID from which I can build a service. I can sort of find it buried in the main flow, but I don't have enough understanding of the webflow setup to know when and how to extract it. Thanks in advance for any help. Chia-Ying -- - 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/812fe383-eb48-412d-bcbe-0f68d0299a72n%40apereo.org.
