Hi all,
I need your help.
When I'm already logged in (via cookie) and try to switch the language during a multifactor-authentication, it results in an error (invalid_request).
I've configured the following flow to test this:
To reproduce this choose a user who has not the role specified in the flow (condition - user role) and login. Afterwards assign the role to the same user and try to do the authentication again. Now there should be the password-form displayed and when trying to switch the language it results in the aforementioned error.
When I debugged this behaviour, I found out that the URLs are built differently because in the
FreeMarkerLoginFormsProvider the default-case is used for LOGIN_PASSWORD, and not
here.
Because there are a lot of
LoginFormsPages defined, is it feasible to change the default-case to the
LOGIN case or does it affect anything else negatively?
Thanks a lot,
Patrick