AW: IDP 4.3.1 login.vm view - error messages?
Käfer Thomas
thomas.kaefer at fh-campuswien.ac.at
Tue Apr 11 14:24:31 UTC 2023
Hi there Scott, thank you for your reply!
Our login.vm file contains `#parse("login-error.vm")` (just like the default I can see in login.vm.idpnew)
The file login-error.vm doesn't look like it has been modified by our front-end developers, tried replacing the old version with login-error.vm.idpnew, but the only difference that makes is that the error is displayed cursive, but it didn't change the facts described in my last mail:
* we only get the static error message defined in messages/messages.properties:authn.message
* that error message is already displayed when the form is first displayed (probably because of the failed Function authFlow that runs first and tries to login via our custom SSO-cookie)
Do you have any hint's how I could get back the behaviour from 4.2.1 and before where we only get an error message after a failed password login attempt and that one is the custom one thrown from our JAAS code like: throw new FailedLoginException(ourErrorMessage)?
Thank you,
kind regards,
Thomas Käfer
________________________________
Von: Cantor, Scott <cantor.2 at osu.edu>
Gesendet: Dienstag, 11. April 2023 14:49
An: Shib Users <users at shibboleth.net>
Cc: Käfer Thomas <thomas.kaefer at fh-campuswien.ac.at>
Betreff: Re: IDP 4.3.1 login.vm view - error messages?
Probably this bug fix to make error handling more consistent.
https://shibboleth.atlassian.net/browse/IDP-2049
You need to review how your login error handling works (they're your templates, that happens immediately after install and enabling the Password module) and adjust anything you want to adjust. The defaults are examples for ways to process error events and display them.
See also [1].
-- Scott
[1] https://git.shibboleth.net/view/?p=java-identity-provider.git;a=commitdiff;h=8f46219e801622027c98b48dc93f1b32d25ff664
Informationen zum Datenschutz: www.fh-campuswien.ac.at/datenschutzerklaerung
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20230411/01c1b575/attachment.htm>
More information about the users
mailing list