Hi,

I'm trying to implement simple logic for password recovery, but as soon as 
user clicks the "Forgot your password" button, I am getting the following 
error about missing webflow trnsitions:

org.springframework.webflow.engine.NoMatchingTransitionException: No 
transition found on occurence of event 'resetPassword' in state 
'viewLoginForm' of flow 'login' -- valid transitional criteria are 
array<TransitionCriteria>[submit] -- likely programmer error, check the set 
of TransitionCriteria for this state at 
org.springframework.webflow.engine.TransitionableState.getRequiredTransition(TransitionableState.java:93)
 
at
...

 I followed the documentation here 
https://apereo.github.io/cas/6.3.x/password_management/Password-Management.html#

My viewLoginForm is using the following code to trigger password reset:

[image: resetpwd.PNG]

I tried including the following CAS modules to my gradle build, expecting 
one of them would add the missing webflow transition:

   - cas-server-support-pm-webflow
   - cas-server-support-pm
   - cas-server-support-pm-core

However, according to the error message the only know transition for 
viewLoginForm is submit event, meaning that no additional flows were added. 
I was hesitant to modify the login webflows manually, as I found in 
different places that flows should be automatically extended by the 
included CAS modules.

Can someone please provide some information about whats the standard/best 
way of adding password management flows?

Thanks,
Sadi

-- 
- 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/ee428a86-732a-4ec5-9a96-333cde141f52n%40apereo.org.

Reply via email to